Color spaces of #512897
RGB | 81 | 40 | 151 |
---|---|---|---|
HSL | 0.73 | 0.58 | 0.37 |
HSV | 262° | 74° | 59° |
CMYK | 0.46 | 0.74 | 0.00 0.41 |
XYZ | 9.7380 | 5.5013 | 29.8268 |
Yxy | 5.5013 | 0.2161 | 0.1221 |
Hunter Lab | 23.4549 | 33.0638 | -58.9788 |
CIE-Lab | 28.1177 | 43.8004 | -53.8259 |
#512897 color RGB value is (81,40,151).
#512897 hex color red value is 81, green value is 40 and the blue value of its RGB is 151. Cylindrical-coordinate representations (also known as HSL) of color #512897 hue: 0.73 , saturation: 0.58 and the lightness value of 512897 is 0.37.
The process color (four color CMYK) of #512897 color hex is 0.46, 0.74, 0.00, 0.41. Web safe color of #512897 is #663399. Color #512897 contains mainly BLUE color.
Base Numbers
Base | Red | Green | Blue |
---|---|---|---|
Binary | 01010001 | 00101000 | 10010111 |
Octal | 121 | 50 | 227 |
Decimal | 81 | 40 | 151 |
Hex | 51 | 28 | 97 |
Shades of #512897
Tints of #512897
RGB Percentages of Color #512897
CMYK Percentages of Color #512897
Complementary Color
#512897 | #6e9728 |
#512897 Color Preview on Black Background
Lorem ipsum dolor sit amet.
#512897 Color Preview on White Background
Lorem ipsum dolor sit amet.
#512897 Color CSS Codes
.mybgcolor {background-color:#512897; } .myforecolor {color:#512897; } .mybordercolor {border:3px solid #512897; }
#512897 Text Font Color
<p style="color:#512897">Text here</p>
This sample text font color is #512897
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.
#512897 Background Color
<div style="background-color:#512897">
Div content here</div>
This div background color is #512897
#512897 Border Color
<div style="border:3px solid #512897">
Div here</div>
This div border color is #512897
Css3 Examples
.textShadowRgb { text-shadow: 4px 4px 2px rgba(81,40,151, 0.8); } .textShadowHex { text-shadow: 4px 4px 2px #512897; } .divShadow { -moz-box-shadow: 1px 1px 3px 2px #512897; -webkit-box-shadow: 1px 1px 3px 2px #512897; box-shadow: 1px 1px 3px 2px #512897; }
Text Shadow with RGB Values
<p style="text-shadow: 4px 4px 2px rgba(81,40,151, 0.8);">Text here</p>
This text has shadow with rgb values.
Text Shadow with Hex Values
<p style="text-shadow: 4px 4px 2px #512897">Text here</p>
This text has shadow with hex values.
Div Box Shadow
<div style="-moz-box-shadow: 1px 1px 3px 2px #512897; -webkit-box-shadow: 1px 1px 3px 2px #512897; box-shadow: 1px 1px 3px 2px #512897;">
Div content here</div>
This div box has shadow with color #512897
Comments
No comments written yet.
Please login to write comment.