color details

Color Details
#2a212a Color Hex

#2a212a color RGB value is (2, 162, 18).
#2a212a hex color red value is 2, green value is 162, and blue value is 18.
Cylindrical-coordinate representations (HSL) of color #2a212a hue: 126, saturation: 0.98 and lightness: 0.32.

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

Color Spaces
Color spaces of #2a212aValue
RGB42, 33, 42
HSL0.83, 0.12, 0.15
HSV300°, 21°, 16°
XYZ1.92, 1.75, 2.43
Base Numbers
Base Red Green Blue
Binary 101010 100001 101010
Octal 52 41 52
Decimal 42 33 42
Hex 2A 21 2A

RGB Percentages for Color #2a212a

35.9%
28.21%
35.9%

CMYK Percentages of the Color #2a212a

21.43%
83.53%
CSS Codes for Color #2a212a
.mybgColor {background-color: #2a212a;}
.myforeColor {color: #2a212a;}
.myborderColor {border:3px solid #2a212a;}
Text Font Color #2a212a

<p style="color:#2a212a">Text here</p>

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

<div style="background-color:#2a212a">Div content here</div>

The background color of this div is #2a212a
Border Color #2a212a

<div style="border:3px solid #2a212a">Div here</div>

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

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

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

Shadow Div Box

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

This div box has a shadow with a specified color. #2a212a

Scroll to Top