Skip to content

hexToRgb

function hexToRgb(hex): Vec3

Converts hex string to RGB

string

The hex value you with to get the RGB value of

Vec3

an array in the order of red, green, blue numerical values

converter.ts:16