color details

Color Details
#2f2f2f Color Hex

#2f2f2f color RGB value is (2, 242, 242).
#2f2f2f hex color red value is 2, green value is 242, and blue value is 242.
Cylindrical-coordinate representations (HSL) of color #2f2f2f hue: 180, saturation: 0.98 and lightness: 0.48.

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

Color Spaces
Color spaces of #2f2f2fValue
RGB47, 47, 47
HSL0, 0, 0.18
HSV0°, 0°, 18°
XYZ2.7, 2.84, 3.1
Base Numbers
Base Red Green Blue
Binary 101111 101111 101111
Octal 57 57 57
Decimal 47 47 47
Hex 2F 2F 2F

RGB Percentages for Color #2f2f2f

33.33%
33.33%
33.33%

CMYK Percentages of the Color #2f2f2f

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

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

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

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

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

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

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

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

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

Shadow Div Box

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

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

Scroll to Top