Color spaces of #542f9b
RGB | 84 | 47 | 155 |
---|---|---|---|
HSL | 0.72 | 0.53 | 0.40 |
HSV | 261° | 70° | 61° |
CMYK | 0.46 | 0.70 | 0.00 0.39 |
XYZ | 10.5891 | 6.2844 | 31.6653 |
Yxy | 6.2844 | 0.2182 | 0.1295 |
Hunter Lab | 25.0687 | 31.5287 | -57.3435 |
CIE-Lab | 30.1189 | 41.8011 | -52.9913 |
#542f9b color RGB value is (84,47,155).
#542f9b hex color red value is 84, green value is 47 and the blue value of its RGB is 155. Cylindrical-coordinate representations (also known as HSL) of color #542f9b hue: 0.72 , saturation: 0.53 and the lightness value of 542f9b is 0.40.
The process color (four color CMYK) of #542f9b color hex is 0.46, 0.70, 0.00, 0.39. Web safe color of #542f9b is #663399. Color #542f9b contains mainly BLUE color.
Base Numbers
Base | Red | Green | Blue |
---|---|---|---|
Binary | 01010100 | 00101111 | 10011011 |
Octal | 124 | 57 | 233 |
Decimal | 84 | 47 | 155 |
Hex | 54 | 2F | 9B |
Shades of #542f9b
Tints of #542f9b
RGB Percentages of Color #542f9b
CMYK Percentages of Color #542f9b
Complementary Color
#542f9b | #769b2f |
#542f9b Color Preview on Black Background
Lorem ipsum dolor sit amet.
#542f9b Color Preview on White Background
Lorem ipsum dolor sit amet.
#542f9b Color CSS Codes
.mybgcolor {background-color:#542f9b; } .myforecolor {color:#542f9b; } .mybordercolor {border:3px solid #542f9b; }
#542f9b Text Font Color
<p style="color:#542f9b">Text here</p>
This sample text font color is #542f9b
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.
#542f9b Background Color
<div style="background-color:#542f9b">
Div content here</div>
This div background color is #542f9b
#542f9b Border Color
<div style="border:3px solid #542f9b">
Div here</div>
This div border color is #542f9b
Css3 Examples
.textShadowRgb { text-shadow: 4px 4px 2px rgba(84,47,155, 0.8); } .textShadowHex { text-shadow: 4px 4px 2px #542f9b; } .divShadow { -moz-box-shadow: 1px 1px 3px 2px #542f9b; -webkit-box-shadow: 1px 1px 3px 2px #542f9b; box-shadow: 1px 1px 3px 2px #542f9b; }
Text Shadow with RGB Values
<p style="text-shadow: 4px 4px 2px rgba(84,47,155, 0.8);">Text here</p>
This text has shadow with rgb values.
Text Shadow with Hex Values
<p style="text-shadow: 4px 4px 2px #542f9b">Text here</p>
This text has shadow with hex values.
Div Box Shadow
<div style="-moz-box-shadow: 1px 1px 3px 2px #542f9b; -webkit-box-shadow: 1px 1px 3px 2px #542f9b; box-shadow: 1px 1px 3px 2px #542f9b;">
Div content here</div>
This div box has shadow with color #542f9b
Comments
No comments written yet.
Please login to write comment.