Skip to main content

rgb_u32

Function rgb_u32 

Source
pub const fn rgb_u32(color: RgbColor) -> u32
Expand description

Pack an RGB color as 0xRRGGBB, the form GPUI/theme pickers consume.