# Gradient colortransform

**URL:** <https://forum.kirupa.com/t/gradient-colortransform/309212>\
**Category:** flash\
**Created:** [May 10, 2010, 6:35am UTC](https://forum.kirupa.com/t/gradient-colortransform/309212 "2010-05-10T06:35:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![GrayFox](https://avatars.discourse-cdn.com/v4/letter/g/ecccb3/32.png) [@GrayFox](https://forum.kirupa.com/u/GrayFox)\
**Post date:** [May 10, 2010, 6:35am UTC](https://forum.kirupa.com/t/gradient-colortransform/309212/1 "2010-05-10T06:35:11Z")

</div>

Hi all,

I am building an application that would allow me to change it’s theme. I am planning to do this by loading a color code via xml and then setting the color of all the graphics in the application to that color. Of course this can be done with a color transform, but this is not what I am looking for. Color transform only enables to change a solid color, In order to keep my graphics somewhat interesting I am looking into a way to colortransform a gradient.

I know I could do this with an overlay of a solid white color which I can give an alpha gradient but I would like to do this in code.

Is there any way this could be done in code?

Thanks in advance!
