pub fn rgb_hex_color(hex: u32) -> Vec4
Expand description
Converts an RGB hex color.
Converts a hex code like 0x6DC5D1
to a Vec4 with
RGB components in the range 0.0
to 1.0
and an alpha of 1.0
.
ยงNote
This does not apply the linear transfer.