color details

Color Details
#4b0082 Color Hex

#4b0082 color RGB value is (4, 176, 8).
#4b0082 hex color red value is 4, green value is 176, and blue value is 8.
Cylindrical-coordinate representations (HSL) of color #4b0082 hue: 121.4, saturation: 0.96 and lightness: 0.35.

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

Color Spaces
Color spaces of #4b0082Value
RGB75, 0, 130
HSL0.76, 1, 0.25
HSV275°, 100°, 51°
XYZ6.93, 3.11, 21.35
Base Numbers
Base Red Green Blue
Binary 1001011 0 10000010
Octal 113 0 202
Decimal 75 0 130
Hex 4B 0 82

RGB Percentages for Color #4b0082

36.59%
63.41%

CMYK Percentages of the Color #4b0082

42.31%
100%
49.02%
CSS Codes for Color #4b0082
.mybgColor {background-color: #4b0082;}
.myforeColor {color: #4b0082;}
.myborderColor {border:3px solid #4b0082;}
Text Font Color #4b0082

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

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

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

The background color of this div is #4b0082
Border Color #4b0082

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

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

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

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

Shadow Div Box

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

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