color details

Color Details
#540054 Color Hex

#540054 color RGB value is (5, 64, 5).
#540054 hex color red value is 5, green value is 64, and blue value is 5.
Cylindrical-coordinate representations (HSL) of color #540054 hue: 120, saturation: 0.86 and lightness: 0.14.

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

Color Spaces
Color spaces of #540054Value
RGB84, 0, 84
HSL0.83, 1, 0.16
HSV300°, 100°, 33°
XYZ5.26, 2.53, 8.6
Base Numbers
Base Red Green Blue
Binary 1010100 0 1010100
Octal 124 0 124
Decimal 84 0 84
Hex 54 0 54

RGB Percentages for Color #540054

50%
50%

CMYK Percentages of the Color #540054

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

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

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

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

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

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

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

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

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

Shadow Div Box

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

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