#040502 Color Information

#040502 color image
The hexadecimal #040502 color RGB value is (4, 5, 2). The complement color is #030205. The CMYK color model (used in color printing) for #040502 is 20% cyan, -0% magenta, 60% yellow and 98% black. The decimal value of this color is 263426. Closest web safe color is: #000000.

Color Space Conversion Table for #040502

Below, the color conversion values related to the color #040502 are specified in detail.

Hexadecimal #040502
Red, Green, Blue
rgb(4, 5, 2)
RGB Percent
Red, Green, Blue
rgb(2%, 2%, 1%)
CMYK Color Model
cyan:20%, magenta:-0%, yellow: 60%, black:98%
Hue, Saturation, Value
hue: 80.00º, saturation: 43%, value: 1%
CIE 1931 Color Space
X:0.115, Y:0.139, Z:0.078
LAB L:0.013, A:-0.007, B:0.010
Decimal 263426
Most Readable White
Web Safe Color #000000

Color Schemes

Below you can see compatible color combinations for #040502.

Complementary Color

Complementary colors, known as contrasting colors in the color wheel, are used to achieve a high-contrast, vibrant appearance.

Analogous Colors

Analogous colors are arranged side by side on the color wheel. It is generally used for harmonious and quiet designs.

Triadic Colors

The triadic colors, uses colors that are evenly spaced around the color wheel.

Tetradic Colors

The tetradic color scheme consists of four colors arranged in two complementary colors.

Split Complementary Colors

The split complementary colors consist of complementary colors on either side of the selected main color.

Lighten and Darken Colors

Below you can see lighter and darker shades of #040502.

Monochromatic Colors

Monochromatic colors consist of colors that are created from light to dark color by adding black and white tones.

Tints, Tones and Shades


Tints are created by adding white tones to any color on the color song. In this way a lighter color than the original one is obtained.


In order to create a shade of colors, it is necessary to add the shades of gray color, which is a mixture of that color, white and black. This creates a more vibrant and new look.


Shades are used to make a color darker. It is done by adding black tones.

Closest Colors

Below you can see alternatives to #040502.

    CSS Examples

    The text has a font color of #040502

    color: #040502;

    This element has a background-color of #040502

    background-color: #040502;

    This element has a border-color of #040502

    border: 1px solid #040502;

    This element has a box-shadow color of #040502

    -webkit-box-shadow : 4px 4px 1px 1px #040502;
    -moz-box-shadow : 4px 4px 1px 1px #040502;
    box-shadow : 4px 4px 1px 1px #040502;

    This element has a text-shadow color of #040502

    -webkit-text-shadow : 1px 1px 2px #040502;
    -moz-text-shadow : 1px 1px 2px #040502;
    text-shadow : 1px 1px 2px #040502;

    Gradient color of #040502

    background-color: #040502; 
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#212911', endColorstr='#040502'); 
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#212911), to(#040502)); 
    background-image: -webkit-linear-gradient(top, #212911, #040502); 
    background-image: -moz-linear-gradient(top, #212911, #040502); 
    background-image: -o-linear-gradient(top, #212911, #040502); 
    background-image: linear-gradient(to bottom, #212911, #040502);