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.
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.