On CM9, positive gamma values are equivalent to Voodoo Sound's negative gamma settings. So on CM9, you'd use 51 for red, 53 for green, and 47 for blue.
Colour multipliers are a range from 0 to 4294967290 in Voodoo Sound, so you can get the CM9 value by division. For instance, 2309122400/4294967290 = 0.5376344554. CM9 colour values for the OP are: 0.5376344554 for red, 0.5376344554 for green, and 0.6370967635 for blue.
CM9 also uses a range of 0 to 4294967290 in /sys/class/misc/samoled_color/*_multiplier, so you can set colour and gamma values directly by modifying the script in the OP:
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?