Hi,
I am looking for a way to desaturate RGB color values. My system is fully using Palettes which have their inbuilt saturation values, however I want to apply a global saturation, which will either keep everything as it is if set to 0xFF or desaturate it down, if set to 0x00, to greyscale.
I want to use RGB and not HSV values because I am also applying blending functions between 2 palettes before that for smooth palette transitions.
Is there any way doing this (does not have to be precise) without using the conversion from RGB to HSV (which is not what I should apply since the function is used for each and every pixel drawn) ?
Thanks !!