AbstractStaticparseParses a color string in hex or rgb(a) format and returns RGB values.
Color string in hex (#fff, #ffffff) or rgb/rgba format
RGB object with r, g, b properties, or null if parsing fails
StaticinvertStaticgetStaticrgbConverts an RGB object to a CSS rgb() string format.
The RGB color to convert
CSS rgb() string representation
Staticis
Abstract utility class for color parsing, manipulation, and contrast calculations.