(rgba: RGBA)
| 100 | * @returns A string in the format "rgb(r g b / a)" representing the RGBA color. |
| 101 | */ |
| 102 | export function rgba_to_string(rgba: RGBA): string { |
| 103 | return `rgb(${rgba.r} ${rgba.g} ${rgba.b} / ${rgba.a})` |
| 104 | } |
| 105 | |
| 106 | /** |
| 107 | * Converts an RGB color to an RGBA color with the specified alpha component. |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…