Appearance
function toHexString(color): string;
Converts an RgbColor object to a hex string (alias of rgbToHex).
RgbColor
rgbToHex
color
string
toHexString({ r: 255, g: 102, b: 0 }) // => '#ff6600'
1.0.0