pub unsafe fn color_luminance(c: Color) -> Result<u8>
This function is unsafe because it may dereference raw pointers.