help please: is there a fast way to convert srgb values to linear ?

I did another small script to change BL diffuse color or spec color

now this is only for material color
and what you said about color is wrong the fact of changing the diffuse won’t affect any other color somewhere else or in cycles!

anyway I can upload the material change script but this does not tell me how to modify the RGB color !
I will try to add this to a small panel in tool pro panel so it is easier to use!

I can read the RGB values but then what do u do with the algo?
do you need to get the HSV and modify the H value ?

thanks
happy bl