Skip to content

colorIntToHex

colorIntToHex(color, addHashSymbol?): string | null

Defined in: package/src/functions/color-convert.ts:7

Converts a color integer into a hex color string

Color integer

number | null

boolean = false

Whether to add a # at the beginning

string | null

Hex color string