How you get black color with rgb colors?

Make sure the 3 (RGB) values are set to zero, ie. 000000 (the first two zeros represent Red, the next represent green and the last two represent blue).