[DllImport("shlwapi.dll")] public static extern uint ColorRGBToHLS( uint rgb, out ushort pwHue, out ushort pwLuminance, out ushort pwSaturation );
Microsoft documentation: Link
Last updated 1 year ago