hexToRgb
Function: hexToRgb()
function hexToRgb(hex): Vec3Converts hex string to RGB
Parameters
hex
string
The hex value you with to get the RGB value of
Returns
an array in the order of red, green, blue numerical values
function hexToRgb(hex): Vec3Converts hex string to RGB
string
The hex value you with to get the RGB value of
an array in the order of red, green, blue numerical values