(rgba: RGBA)
| 193 | * notation. |
| 194 | */ |
| 195 | export function rgba_to_hex(rgba: RGBA): string { |
| 196 | return ( |
| 197 | "#" + rgba.r.toString(16) + rgba.g.toString(16) + rgba.b.toString(16) + rgba.a.toString(16) |
| 198 | ) |
| 199 | } |
| 200 | |
| 201 | /** |
| 202 | * Converts a hex color to an rgb color |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…