How to use HSB or RGB (But totally inaccurate for now)

The HSB

The H in HSB is the color. It starts with Red then green then blue ( it goes to 1000 ). The S changes the brightest so the color mixed with white. The lower the number on S (under 84 makes it more bright) if you don't want to change the S make it 84. The B is like the S but changes the darkness. I you don't want it to be dark make it 96.

The RGB

RGB is very simple. The more R the more red. This is the same for G and B but G is green and B is blue. To make it black change it to 0 0 0 and for white do 500 500 500 and grey is in the middle.

I hope this worked. You can see my game pixel pad 2.0 to see how HSB works or pixel pad 1.0 for RGB.

12 Likes

Have you searcned for this?

1 Like

No, I figured it out but had some help from some games

1 Like

I thought that H met hue, and it had all the colours up to 359? And 0 is red, 50 is yellow, 200 is blue?

5 Likes

Yes, you're right.


Sorry, but this topic is kind of inaccurate.

4 Likes

S is how white or black it it.
B is the light shining on it.

2 Likes

HSB:
H is hue and goes to 359
S is saturation
B is brightness

3 Likes

I just look up RGB color picker and then I can plug it into my code. Lol

2 Likes

*255

*255 255 255

2 Likes

HUE - The color part in HSB. Ranges from 0-360.
SATURATION - Determines how colorful the color is. Ranges from 0-100.
BRIGHTNESS - Determines how bright the color is. Ranges from 0-100.

RED - The redness of a color. Ranges from 0-255.
GREEN - The greeness of a color. Ranges from 0-255.
BLUE - The blueness of a color. Ranges from 0-255.

HSB:
White - 0,0,100
Black - 0,0,0
Red - 0,100,100
Green - 120,100,100
Blue - 240,100,100

RGB:
White - 255,255,255
Black - 0,0,0
Red - 255,0,0
Green - 0,255,0
Blue - 0,0,255

7 Likes

:clap::clap::clap: Very good explanation!

3 Likes

Green is about 100 and blue is about 200. 300 is purple. And 180 is Aqua.

4 Likes

Actually, HSB stands for hue, saturation and value. The hue goes up to 359, then it restarts when it gets to 360. The S and B values stop at 100!

RGB stands for red, green and blue – they all go up to 255. :D

5 Likes

Here's a visual

H = Hue = Think color. Starts at 0 for red and increases counter-clockwise (in the above project) until it gets back to red at 360. You can remember it's 0-360 since there's 360 degrees in a circle.

S = Saturation = How intense the color is. 0=gray scale and hue is ignored. 85 is typically a good value that isn't too "harsh" when you want a bright color.

B = Brightness = How bright or dark the color is. 100=black and both hue & saturation are ignored.

I've yet to find an occasion where I preferred or needed to use RGB.

4 Likes

RGB is pretty good for when you want to put a glow on a color, like some red on a tan color. Just, y'know, add red.

4 Likes

Less S is white, more is black.
Less B is the absence of light. More B is more light.
The most S is 100
And the same with B– the most is also 100.

2 Likes

Good point. Guess I just haven't come across that need in a project yet :smile:

1 Like

You are as wrong as I am. Green is 120, and blue is 240. I used my RGB to HSB for this.

1 Like