Color spaces of #512e8a
RGB | 81 | 46 | 138 |
---|---|---|---|
HSL | 0.73 | 0.50 | 0.36 |
HSV | 263° | 67° | 54° |
CMYK | 0.41 | 0.67 | 0.00 0.46 |
XYZ | 8.9578 | 5.5383 | 24.6416 |
Yxy | 5.5383 | 0.2289 | 0.1415 |
Hunter Lab | 23.5336 | 26.7602 | -45.6080 |
CIE-Lab | 28.2164 | 36.9520 | -45.6449 |
#512e8a color RGB value is (81,46,138).
#512e8a hex color red value is 81, green value is 46 and the blue value of its RGB is 138. Cylindrical-coordinate representations (also known as HSL) of color #512e8a hue: 0.73 , saturation: 0.50 and the lightness value of 512e8a is 0.36.
The process color (four color CMYK) of #512e8a color hex is 0.41, 0.67, 0.00, 0.46. Web safe color of #512e8a is #663399. Color #512e8a contains mainly BLUE color.
Base Numbers
Base | Red | Green | Blue |
---|---|---|---|
Binary | 01010001 | 00101110 | 10001010 |
Octal | 121 | 56 | 212 |
Decimal | 81 | 46 | 138 |
Hex | 51 | 2E | 8A |
Shades of #512e8a
Tints of #512e8a
RGB Percentages of Color #512e8a
CMYK Percentages of Color #512e8a
Complementary Color
#512e8a | #678a2e |
#512e8a Color Preview on Black Background
Lorem ipsum dolor sit amet.
#512e8a Color Preview on White Background
Lorem ipsum dolor sit amet.
#512e8a Color CSS Codes
.mybgcolor {background-color:#512e8a; } .myforecolor {color:#512e8a; } .mybordercolor {border:3px solid #512e8a; }
#512e8a Text Font Color
<p style="color:#512e8a">Text here</p>
This sample text font color is #512e8a
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.
#512e8a Background Color
<div style="background-color:#512e8a">
Div content here</div>
This div background color is #512e8a
#512e8a Border Color
<div style="border:3px solid #512e8a">
Div here</div>
This div border color is #512e8a
Css3 Examples
.textShadowRgb { text-shadow: 4px 4px 2px rgba(81,46,138, 0.8); } .textShadowHex { text-shadow: 4px 4px 2px #512e8a; } .divShadow { -moz-box-shadow: 1px 1px 3px 2px #512e8a; -webkit-box-shadow: 1px 1px 3px 2px #512e8a; box-shadow: 1px 1px 3px 2px #512e8a; }
Text Shadow with RGB Values
<p style="text-shadow: 4px 4px 2px rgba(81,46,138, 0.8);">Text here</p>
This text has shadow with rgb values.
Text Shadow with Hex Values
<p style="text-shadow: 4px 4px 2px #512e8a">Text here</p>
This text has shadow with hex values.
Div Box Shadow
<div style="-moz-box-shadow: 1px 1px 3px 2px #512e8a; -webkit-box-shadow: 1px 1px 3px 2px #512e8a; box-shadow: 1px 1px 3px 2px #512e8a;">
Div content here</div>
This div box has shadow with color #512e8a
Comments
No comments written yet.
Please login to write comment.