Color spaces of #540ad9
RGB | 84 | 10 | 217 |
---|---|---|---|
HSL | 0.73 | 0.91 | 0.45 |
HSV | 261° | 95° | 85° |
CMYK | 0.61 | 0.95 | 0.00 0.15 |
XYZ | 16.2891 | 7.1117 | 66.1598 |
Yxy | 7.1117 | 0.1819 | 0.0794 |
Hunter Lab | 26.6678 | 62.3620 | -128.4245 |
CIE-Lab | 32.0599 | 70.5755 | -86.5361 |
#540ad9 color RGB value is (84,10,217).
#540ad9 hex color red value is 84, green value is 10 and the blue value of its RGB is 217. Cylindrical-coordinate representations (also known as HSL) of color #540ad9 hue: 0.73 , saturation: 0.91 and the lightness value of 540ad9 is 0.45.
The process color (four color CMYK) of #540ad9 color hex is 0.61, 0.95, 0.00, 0.15. Web safe color of #540ad9 is #6600cc. Color #540ad9 contains mainly BLUE color.
Base Numbers
Base | Red | Green | Blue |
---|---|---|---|
Binary | 01010100 | 00001010 | 11011001 |
Octal | 124 | 12 | 331 |
Decimal | 84 | 10 | 217 |
Hex | 54 | A | D9 |
Shades of #540ad9
Tints of #540ad9
RGB Percentages of Color #540ad9
CMYK Percentages of Color #540ad9
Complementary Color
#540ad9 | #8fd90a |
#540ad9 Color Preview on Black Background
Lorem ipsum dolor sit amet.
#540ad9 Color Preview on White Background
Lorem ipsum dolor sit amet.
#540ad9 Color CSS Codes
.mybgcolor {background-color:#540ad9; } .myforecolor {color:#540ad9; } .mybordercolor {border:3px solid #540ad9; }
#540ad9 Text Font Color
<p style="color:#540ad9">Text here</p>
This sample text font color is #540ad9
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.
#540ad9 Background Color
<div style="background-color:#540ad9">
Div content here</div>
This div background color is #540ad9
#540ad9 Border Color
<div style="border:3px solid #540ad9">
Div here</div>
This div border color is #540ad9
Css3 Examples
.textShadowRgb { text-shadow: 4px 4px 2px rgba(84,10,217, 0.8); } .textShadowHex { text-shadow: 4px 4px 2px #540ad9; } .divShadow { -moz-box-shadow: 1px 1px 3px 2px #540ad9; -webkit-box-shadow: 1px 1px 3px 2px #540ad9; box-shadow: 1px 1px 3px 2px #540ad9; }
Text Shadow with RGB Values
<p style="text-shadow: 4px 4px 2px rgba(84,10,217, 0.8);">Text here</p>
This text has shadow with rgb values.
Text Shadow with Hex Values
<p style="text-shadow: 4px 4px 2px #540ad9">Text here</p>
This text has shadow with hex values.
Div Box Shadow
<div style="-moz-box-shadow: 1px 1px 3px 2px #540ad9; -webkit-box-shadow: 1px 1px 3px 2px #540ad9; box-shadow: 1px 1px 3px 2px #540ad9;">
Div content here</div>
This div box has shadow with color #540ad9
Comments
No comments written yet.
Please login to write comment.