color details

Color Details
#21896c Color Hex

#21896c color RGB value is (2, 24, 150).
#21896c hex color red value is 2, green value is 24, and blue value is 150.
Cylindrical-coordinate representations (HSL) of color #21896c hue: 231.08, saturation: 0.97 and lightness: 0.3.

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

Color Spaces
Color spaces of #21896cValue
RGB33, 137, 108
HSL0.45, 0.61, 0.33
HSV163°, 76°, 54°
XYZ12.28, 19.3, 17.26
Base Numbers
Base Red Green Blue
Binary 100001 10001001 1101100
Octal 41 211 154
Decimal 33 137 108
Hex 21 89 6C

RGB Percentages for Color #21896c

11.87%
49.28%
38.85%

CMYK Percentages of the Color #21896c

75.91%
21.17%
46.27%
CSS Codes for Color #21896c
.mybgColor {background-color: #21896c;}
.myforeColor {color: #21896c;}
.myborderColor {border:3px solid #21896c;}
Text Font Color #21896c

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

This sample text is styled with the font color #21896c. 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 #21896c

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

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

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

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

<p style="text-shadow: 4px 4px 2px rgba(33, 137, 108, 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 #21896c;">Text here</p>

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

Shadow Div Box

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

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

Scroll to Top