Converts a hexadecimal RGB color to an HSB color.
hexToHsb(0.2392, 0.2902, 0.4706) // return { h: 226.78, s: 0.4917, b: 0.4706 }
Color components as fractions.
Generated using TypeDoc
Converts a hexadecimal RGB color to an HSB color.
Example