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

Function rgb_to_string

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

Source from the content-addressed store, hash-verified

90 * @returns A string in the format "rgb(r g b)" representing the RGB color.
91 */
92export function rgb_to_string(rgb: RGB): string {
93 return `rgb(${rgb.r} ${rgb.g} ${rgb.b})`
94}
95
96/**
97 * Converts an RGBA color to a 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…