Skip to content
pixi-silk
GitHub repository
Function

hexLabel

import { hexLabel } from 'pixi-silk/glow';
function hexLabel(color: ColorSource): string;

Upper-case hex string of a colour without alpha, #FF3636 style, for swatch labels.

Parameters#

ParameterType
colorColorSource

Returns#

string