Color spaces of #540048
RGB | 84 | 0 | 72 |
---|---|---|---|
HSL | 0.86 | 1.00 | 0.16 |
HSV | 309° | 100° | 33° |
CMYK | 0.00 | 1.00 | 0.14 0.67 |
XYZ | 4.8259 | 2.3527 | 6.3307 |
Yxy | 2.3527 | 0.3572 | 0.1742 |
Hunter Lab | 15.3385 | 29.3184 | -13.7339 |
CIE-Lab | 17.2389 | 41.8758 | -20.1723 |
#540048 color RGB value is (84,0,72).
#540048 hex color red value is 84, green value is 0 and the blue value of its RGB is 72. Cylindrical-coordinate representations (also known as HSL) of color #540048 hue: 0.86 , saturation: 1.00 and the lightness value of 540048 is 0.16.
The process color (four color CMYK) of #540048 color hex is 0.00, 1.00, 0.14, 0.67. Web safe color of #540048 is #660033. Color #540048 contains mainly RED color.
Base Numbers
Base | Red | Green | Blue |
---|---|---|---|
Binary | 01010100 | 00000000 | 01001000 |
Octal | 124 | 0 | 110 |
Decimal | 84 | 0 | 72 |
Hex | 54 | 0 | 48 |
Shades of #540048
Tints of #540048
RGB Percentages of Color #540048
CMYK Percentages of Color #540048
Complementary Color
#540048 | #00540c |
#540048 Color Preview on Black Background
Lorem ipsum dolor sit amet.
#540048 Color Preview on White Background
Lorem ipsum dolor sit amet.
#540048 Color CSS Codes
.mybgcolor {background-color:#540048; } .myforecolor {color:#540048; } .mybordercolor {border:3px solid #540048; }
#540048 Text Font Color
<p style="color:#540048">Text here</p>
This sample text font color is #540048
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
#540048 Background Color
<div style="background-color:#540048">
Div content here</div>
This div background color is #540048
#540048 Border Color
<div style="border:3px solid #540048">
Div here</div>
This div border color is #540048
Css3 Examples
.textShadowRgb { text-shadow: 4px 4px 2px rgba(84,0,72, 0.8); } .textShadowHex { text-shadow: 4px 4px 2px #540048; } .divShadow { -moz-box-shadow: 1px 1px 3px 2px #540048; -webkit-box-shadow: 1px 1px 3px 2px #540048; box-shadow: 1px 1px 3px 2px #540048; }
Text Shadow with RGB Values
<p style="text-shadow: 4px 4px 2px rgba(84,0,72, 0.8);">Text here</p>
This text has shadow with rgb values.
Text Shadow with Hex Values
<p style="text-shadow: 4px 4px 2px #540048">Text here</p>
This text has shadow with hex values.
Div Box Shadow
<div style="-moz-box-shadow: 1px 1px 3px 2px #540048; -webkit-box-shadow: 1px 1px 3px 2px #540048; box-shadow: 1px 1px 3px 2px #540048;">
Div content here</div>
This div box has shadow with color #540048
Comments
No comments written yet.
Please login to write comment.