color details

Color Details
#21051c Color Hex

#21051c color RGB value is (2, 16, 81).
#21051c hex color red value is 2, green value is 16, and blue value is 81.
Cylindrical-coordinate representations (HSL) of color #21051c hue: 229.37, saturation: 0.95 and lightness: 0.16.

The process color (four-color CMYK) of #21051c color hex is 0.00, 0.28, 0.40, 0.03. Web safe color of #21051c is #ff9999. Color #21051c contains mainly RED.

Color Spaces
Color spaces of #21051cValue
RGB33, 5, 28
HSL0.86, 0.74, 0.07
HSV311°, 85°, 13°
XYZ0.89, 0.52, 1.15
Base Numbers
Base Red Green Blue
Binary 100001 101 11100
Octal 41 5 34
Decimal 33 5 28
Hex 21 5 1C

RGB Percentages for Color #21051c

50%
7.58%
42.42%

CMYK Percentages of the Color #21051c

84.85%
15.15%
87.06%
CSS Codes for Color #21051c
.mybgColor {background-color: #21051c;}
.myforeColor {color: #21051c;}
.myborderColor {border:3px solid #21051c;}
Text Font Color #21051c

<p style="color:#21051c">Text here</p>

This sample text is styled with the font color #21051c. It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here,

Background Color #21051c

<div style="background-color:#21051c">Div content here</div>

The background color of this div is #21051c
Border Color #21051c

<div style="border:3px solid #21051c">Div here</div>

The border color of this div is #21051c
Css3 Examples
            .textShadowRgb {
                text-shadow: 4px 4px 2px rgba(33, 5, 28, 0.8);            }
            .textShadowHex {
                text-shadow: 4px 4px 2px #21051c;            }
            .divShadow {
                -moz-box-shadow: 1px 1px 3px #21051c;
-webkit-box-shadow: 1px 1px 3px #21051c;
box-shadow: 1px 1px 3px #21051c;            }
            
Text Shadow Using RGB Values

<p style="text-shadow: 4px 4px 2px rgba(33, 5, 28, 0.8);">Text here</p>

This text has a shadow with RGB values.

Text Shadow Using Hex Values

<p style="text-shadow: 4px 4px 2px #21051c;">Text here</p>

This text has a shadow with hexadecimal (hex) values.

Shadow Div Box

<div style="-moz-box-shadow: 1px 1px 3px #21051c; -webkit-box-shadow: 1px 1px 3px #21051c; box-shadow: 1px 1px 3px #21051c;">Div content here</div>

This div box has a shadow with a specified color. #21051c

Scroll to Top