Color spaces of #540faf
RGB | 84 | 15 | 175 |
---|---|---|---|
HSL | 0.74 | 0.84 | 0.37 |
HSV | 266° | 91° | 69° |
CMYK | 0.52 | 0.91 | 0.00 0.31 |
XYZ | 11.5648 | 5.3216 | 40.9751 |
Yxy | 5.3216 | 0.1999 | 0.0920 |
Hunter Lab | 23.0686 | 49.1160 | -89.1646 |
CIE-Lab | 27.6320 | 59.6940 | -69.1666 |
#540faf color RGB value is (84,15,175).
#540faf hex color red value is 84, green value is 15 and the blue value of its RGB is 175. Cylindrical-coordinate representations (also known as HSL) of color #540faf hue: 0.74 , saturation: 0.84 and the lightness value of 540faf is 0.37.
The process color (four color CMYK) of #540faf color hex is 0.52, 0.91, 0.00, 0.31. Web safe color of #540faf is #660099. Color #540faf contains mainly BLUE color.
Base Numbers
Base | Red | Green | Blue |
---|---|---|---|
Binary | 01010100 | 00001111 | 10101111 |
Octal | 124 | 17 | 257 |
Decimal | 84 | 15 | 175 |
Hex | 54 | F | AF |
Shades of #540faf
Tints of #540faf
RGB Percentages of Color #540faf
CMYK Percentages of Color #540faf
Complementary Color
#540faf | #6aaf0f |
#540faf Color Preview on Black Background
Lorem ipsum dolor sit amet.
#540faf Color Preview on White Background
Lorem ipsum dolor sit amet.
#540faf Color CSS Codes
.mybgcolor {background-color:#540faf; } .myforecolor {color:#540faf; } .mybordercolor {border:3px solid #540faf; }
#540faf Text Font Color
<p style="color:#540faf">Text here</p>
This sample text font color is #540faf
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.
#540faf Background Color
<div style="background-color:#540faf">
Div content here</div>
This div background color is #540faf
#540faf Border Color
<div style="border:3px solid #540faf">
Div here</div>
This div border color is #540faf
Css3 Examples
.textShadowRgb { text-shadow: 4px 4px 2px rgba(84,15,175, 0.8); } .textShadowHex { text-shadow: 4px 4px 2px #540faf; } .divShadow { -moz-box-shadow: 1px 1px 3px 2px #540faf; -webkit-box-shadow: 1px 1px 3px 2px #540faf; box-shadow: 1px 1px 3px 2px #540faf; }
Text Shadow with RGB Values
<p style="text-shadow: 4px 4px 2px rgba(84,15,175, 0.8);">Text here</p>
This text has shadow with rgb values.
Text Shadow with Hex Values
<p style="text-shadow: 4px 4px 2px #540faf">Text here</p>
This text has shadow with hex values.
Div Box Shadow
<div style="-moz-box-shadow: 1px 1px 3px 2px #540faf; -webkit-box-shadow: 1px 1px 3px 2px #540faf; box-shadow: 1px 1px 3px 2px #540faf;">
Div content here</div>
This div box has shadow with color #540faf
Comments
No comments written yet.
Please login to write comment.