color details

Color Details
#8A2BE2 Color Hex

#8A2BE2 color RGB value is (8, 162, 190).
#8A2BE2 hex color red value is 8, green value is 162, and blue value is 190.
Cylindrical-coordinate representations (HSL) of color #8A2BE2 hue: 189.23, saturation: 0.92 and lightness: 0.39.

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

Color Spaces
Color spaces of #8A2BE2Value
RGB138, 43, 226
HSL0.75, 0.76, 0.53
HSV271°, 81°, 89°
XYZ25.07, 12.62, 73.05
Base Numbers
Base Red Green Blue
Binary 10001010 101011 11100010
Octal 212 53 342
Decimal 138 43 226
Hex 8A 2B E2

RGB Percentages for Color #8A2BE2

33.91%
10.57%
55.53%

CMYK Percentages of the Color #8A2BE2

38.94%
80.97%
11.37%
CSS Codes for Color #8A2BE2
.mybgColor {background-color: #8A2BE2;}
.myforeColor {color: #8A2BE2;}
.myborderColor {border:3px solid #8A2BE2;}
Text Font Color #8A2BE2

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

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

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

The background color of this div is #8A2BE2
Border Color #8A2BE2

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

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

<p style="text-shadow: 4px 4px 2px rgba(138, 43, 226, 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 #8A2BE2;">Text here</p>

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

Shadow Div Box

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

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