How To: Hexadecimal, RGBA, and RGB
Color Codes
Today I shall teach you about hexadecimal, rgb, and rgba colors. I will also teach you how to use the rgba colors in Dreamweaver. Hexadecimal and rgb makes it easier to manipulate how dark and light a color is compared to telling Dreamweaver light blue, which could not be the right shade for you. This gives you the power to get the color you specifically need. This is especially helpful in web design so your server knows which exact color needs to be used because this is an almost universal code.Color Words:
- Color words are colors written is words hence "color words"
- You do not have as much control over the shade and tint of the color
- In a code you will type the color name
Example:
Website:
Hexadecimal:
- The hexadecimal color code is a 6 word and or number combination.
- The tag starts with # then RRGGBB.
- The R stands for red, G stands for green, and B stands for blue.
- Numbers 0-9 are the amount of color, A-F is the equivalent to 10-15.
- The reason there are letters is because you can't type a double digit number in code
- 0 is the darkest and F is the lightest
- #000000 is black
- #FFFFFF is white

Example:
Website:
RGB:
- Is the amount of red, green and blue
- Each rgb starts with #
- The maximum amount of red, blue and green is 255
Example:
Website:
RGB(a):
- Is the same as rgb that determines the amount of red, green and blue
- The maximum amount of red, blue and green is 255
- The (a) stands for alpha
- The alpha determines the transparency
- The transparency rate is between 0-1
- 0 is completely transparent and 1 is opaque
- You use decimals to increase or decrease the transparency

Example:
Website:
Concluding Thoughts
If you are trying to choose a specific color it would be best to chose a hexadecimal cod or a RGB color, so you have more power to choose. If you are trying to make a picture or color transparent RGB(a) code would be best. Color words are the best if you aren't really looking for a too specific color.
Comments
Post a Comment