hex_rgb_color

Function hex_rgb_color 

Source
pub fn hex_rgb_color(hex: u32) -> Vec4
Expand description

Convert from hex color notation to makepad’s Vec4 color. Ex: Converts 0xff33cc into vec4(1.0, 0.2, 0.8, 1.0).