[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
Don't know, and i tried with h:s:v: and it doesn't work too, as you can see ... [image: Images intégrées 1] 2012/8/8 Esteban Lorenzano <estebanlm@gmail.com>
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
-- Best regards, Douaille Erwan <douaille.erwan@gmail.com>
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" <estebanlm@gmail.com> To: "Pharo-project@lists.gforge.inria.fr Development" <pharo-project@lists.gforge.inria.fr> 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
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" <gazzaguru2@btinternet.com> 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" <estebanlm@gmail.com> To: "Pharo-project@lists.gforge.inria.fr Development" <pharo-project@lists.gforge.inria.fr> 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
participants (3)
-
Erwan Douaille -
Esteban Lorenzano -
Gary Chambers