Typedoc APIsigmasrcutilsFunctionsrgbaToFloatOn this pageFunction: rgbaToFloat() rgbaToFloat(r, g, b, a, masking?): number Parameters • r: number • g: number • b: number • a: number • masking?: boolean Returns number Defined in sigma/src/utils/colors.ts:220