This site requires JavaScript, please enable it in your browser!
Greenfoot back
Kartoffelbrot
Kartoffelbrot wrote ...

2013/7/12

Stress with colours

Kartoffelbrot Kartoffelbrot

2013/7/12

#
I want to make an image for my walls. Therefore I created a color:
Color drw = new Color(214, 147, 0, 86);
As I tested it, I noticed, that it is partly transparent. How can I disable this transparency, without changing the alpha value because it gets darker then and that's another color.
SPower SPower

2013/7/12

#
Alpha is hte only way to change the transparency, so you'll have to do this:
Color drw = new Color(214, 147, 0);
however, then you will get the illusion that the color is darker. The only way to change that is to change te rgb values. I'm inexperienced with changing colors by just the rgb value, but trying is always fun. You could also pick a color in an image editor program like gimp, photoshop or something else.
Kartoffelbrot Kartoffelbrot

2013/7/12

#
thanks
You need to login to post a reply.