Yep, you're right Chet, thanks. 

-TH

--- In [email protected], Chet Haase <cha...@...> wrote:
>
> 
> Nope: HSBColor is a utility class for dealing with colors represented in the 
> HSB (Hue, Saturation, and Balance) color space. It will help you convert 
> between RGB and HSB colors, but will not help you with RGB to hex string 
> conversions.
> 
> Chet.
> 
> 
> From: [email protected] [mailto:[email protected]] On 
> Behalf Of turbo_vb
> Sent: Tuesday, September 29, 2009 1:35 PM
> To: [email protected]
> Subject: [flexcoders] Re: Converting RGB to Hex color
> 
> 
> 
> There's a utility in the sdk to convert rgb string to uint. For Flex4 it's 
> mx.utils.HSBColor.
> 
> -TH
> 
> --- In [email protected]<mailto:flexcoders%40yahoogroups.com>, Greg 
> Hess <flexeffect@> wrote:
> >
> > Hi All,
> >
> > I am trying to externalize our effect styles to css. However, when I
> > read in the color values getStyle() they come in RGB format and
> > GlowFilter needs Hex. I have found lots of posts of people writing
> > rgbToHex conversion function but I find it strange that this is not
> > available in the Flex SDK.
> >
> > What is the best way to do such conversions.
> >
> > Any help much appreciated,
> >
> > Greg
> >
>


Reply via email to