Function hex2rgb

pub const fn hex2rgb(val: u32) -> (u8, u8, u8) 
Available on crate feature dep_fltk only.
Expand description

Convenience function to convert hex to rgb. Example:

use fltk::utils::hex2rgb;
let (r, g, b) = hex2rgb(0x000000);