Hi Esteban, It's a matter of percentage, meaning that you can chose an percentage of r, of g, and of b, and by default the values go from 0.0 to 1.0.
If you want to use 255 as the max (as 1.0), then do as Gary posted. Fernando On Thu, Aug 9, 2012 at 4:32 PM, Esteban Lorenzano <[email protected]> wrote: > why this is logic? shouldn't be enough just using r:g:b:alpha:? > > sorry, my graphics skills are close to zero so... no idea if what I'm saying > has any sense :) > > On Aug 9, 2012, at 11:44 AM, "Gary Chambers" <[email protected]> > wrote: > >> Color values range from 0.0 to 1.0 use >> >> (Color r: 255 g: 255 b: 122 range: 255) alpha: 1.0 >> >> instead ;-) >> >> Regards, Gary >> >> ----- Original Message ----- From: "Esteban Lorenzano" <[email protected]> >> To: "[email protected] Development" >> <[email protected]> >> Sent: Wednesday, August 08, 2012 5:05 PM >> Subject: [Pharo-project] color problem? >> >> >>> Hi, >>> >>> try: >>> >>> Color r: 255 g: 255 b: 122 alpha: 255. >>> >>> AFAIK, that should bring a yellow color. And it is not. >>> Anyone knows why? >>> >>> Esteban >>> >> >> > >
