Brighten a Color

Hello!

Does anyone know how to reduce or brighten a color by for instance 10% in AS?

Example:
i have this color 0x3399FF (some blue)
and i want do do something like this
newColor = BrightenColor(0x3399FF) // call function BrightenColor and it return the new color

and the newcolor well be the same blue but 10 more brighter

Any help!!
Best Regards

nevermind… i found the solution…
thanks anyway

Could you share the solution you came up with?

Yeah, I’m curious too :slight_smile: