# Color Transformation - HUE Increase

**URL:** <https://forum.kirupa.com/t/color-transformation-hue-increase/215811>\
**Category:** flash\
**Created:** [February 10, 2007, 6:43pm UTC](https://forum.kirupa.com/t/color-transformation-hue-increase/215811 "2007-02-10T18:43:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![joaodelima](https://avatars.discourse-cdn.com/v4/letter/j/6f9a4e/32.png) [@joaodelima](https://forum.kirupa.com/u/joaodelima)\
**Post date:** [February 10, 2007, 6:43pm UTC](https://forum.kirupa.com/t/color-transformation-hue-increase/215811/1 "2007-02-10T18:43:46Z")

</div>

Hello!

I use the following code to change the color of a gradient logo:

var myColor:Color = new Color(logo\_mc);  
myColor.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0});

Playing around with Fireworks, however, I found out that if I were to increase HUE from 0 to 121 the logo would look much better.

Does anybody have any idea how to modify the object {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0} to reflect a HUE increase of 121 points?

Thank you very much!
