MCPcopy Create free account
hub / github.com/thetarnav/solid-devtools / rgb_value

Function rgb_value

packages/frontend/src/ui/color.ts:174–176  ·  view source on GitHub ↗
(rgb: RGB)

Source from the content-addressed store, hash-verified

172 * @returns A string in the format "r g b" representing the RGB color.
173 */
174export function rgb_value(rgb: RGB): string {
175 return `${rgb.r} ${rgb.g} ${rgb.b}`
176}
177
178/**
179 * Converts an RGB color to a hexadecimal string representation.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…