• Main and additional colors in web design

    Main colors

    There are three main colors: red (# ff0000 in HTML or # F00 in CSS), yellow (# FFFF00 in HTML or # ff0 in CSS) and blue (# 0000FF in HTML or # 00f in CSS). You can not get them by mixing other colors. Additional colors can be formed by combining these three colors.

    Composite colors

    There are also three composite ones: orange (# ff9900 in HTML or # F90 in CSS), green (# 00FF00 in HTML or # 0f0 in CSS), and purple (#FF00FF in HTML or # f0f in CSS). You can get them by mixing red and yellow (orange), yellow and blue (green) and blue and red (purple).

    Tertiary colors

    To get one of the tertiary colors, you need to mix one main color and one secondary color. The possibilities for tertiary colors are endless.

    Additional colors

    Additional colors are located directly opposite each other on the color wheel: red and green, blue and orange, purple and yellow. In combination with each other, they make up a striking contrast. Such combinations, as a rule, are used to highlight some elements on the website.

    Similar colors

    These colors are located next to each other on the color wheel. They usually look very well together. Using such color combinations causes a sense of comfort for visitors to your site.