How to Make Your Set of Colors Using HTML Color Codes
Now that you have a good understanding of how HTML color codes work, it is time to start experimenting with them.
In the image on the left, the additive color combination shows the mixing of the three primary color combinations namely red, green and blue to get the secondary colors. The subtractive color combination shows the mixing of the secondary colors to get the primary colors.
While using HTML color codes, 00 refers to the absence of the primary color. Increasing the value all the way to FF darkens the shade of the primary color and gives the resulting primary color.
This explains why the HTML color code #000000 is black and #FFFFFF is white. Note that white is a mix of all the colors and black is the absence of any color.
Let's now use HTML color codes to mix and create new colors. From the image (the Additive part), we see that red and green mix to give yellow. To obtain a yellow color using the HTML color code, the first two alpha-numeric characters that give red should be FF and the next two alpha-numeric characters that give the green color should be FF too. The rest is 00. This results in #FFFF00 that will give yellow. Similarly, you get magenta by mixing red and blue. The resulting color code will be #FF00FF.
Use various alpha-numeric values to increase and reduce the darkness and combine them to get the colors of your choice or use some of the tools given below to choose the color of your and get its respective HTML code.
Image Credit: Lukascrech.com