color details

Color Details
#b22222 Color Hex

#b22222 color RGB value is (11, 34, 34).
#b22222 hex color red value is 11, green value is 34, and blue value is 34.
Cylindrical-coordinate representations (HSL) of color #b22222 hue: 180, saturation: 0.51 and lightness: 0.09.

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

Color Spaces
Color spaces of #b22222Value
RGB178, 34, 34
HSL0, 0.68, 0.42
HSV0°, 81°, 70°
XYZ19.22, 10.73, 2.57
Base Numbers
Base Red Green Blue
Binary 10110010 100010 100010
Octal 262 42 42
Decimal 178 34 34
Hex B2 22 22

RGB Percentages for Color #b22222

72.36%
13.82%
13.82%

CMYK Percentages of the Color #b22222

80.9%
80.9%
30.2%
CSS Codes for Color #b22222
.mybgColor {background-color: #b22222;}
.myforeColor {color: #b22222;}
.myborderColor {border:3px solid #b22222;}
Text Font Color #b22222

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

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

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

The background color of this div is #b22222
Border Color #b22222

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

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

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

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

Shadow Div Box

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

This div box has a shadow with a specified color. #b22222
Scroll to Top