HEX: #511688
RGB: (81,22,136)
#511688 contains mainly red and blue colors. Web safe color of #511688 is #660099 (or #609).
#511688 color RGB value is (81,22,136).
RGB: (81,22,136)
(32%, 9%, 53%)
R 81 of 255 = 32%
G 22 of 255 = 9%
B 136 of 255 = 53%
R + G + B ~ 31%. #511688 is quite dark color.
R + G + B = 81 + 22 + 136 = 239 (100%)
R 81 of 239 ~ 33.89%
G 22 of 239 ~ 9.21%
B 136 of 239 ~ 56.9'%
#511688 color CMYK value is (40,84,0,47).
CMYK: (40,84,0,47) C40M84Y0K47 (40%,84%,0%,47%) (0.40/0.84/0.00/0.47)
Color #511688 in popluar color models
51 | 16 | 88 | |
---|---|---|---|
RGB | 81 | 22 | 136 |
HSL | 271° | 72.15% | 30.98% |
HSB/HSV | 271° | 83.82% | 53.33% |
CMYK | 40.44% | 83.82% | 0.00% |
46.67% |
Color #511688 in popluar number systems.
HEX | 51 | 16 | 88 |
Decimal | 81 | 22 | 136 |
Binary | 1010001 | 10110 | 10001000 |
Octal | 121 | 26 | 210 |
Shades of #511688
Tints of #511688
Examples of css and html codes for elements with #511688 color. Also use rgb(81,22,136) instead hex code.
.myTextColor { color: #511688; }
<p style="color:#511688">This sample text font color is #511688.</p>
This text font color is #511688.
.myBgColor { background-color: #511688; }
<div style="background-color:#511688">Inner text</div>
This div background color is #511688.
.myBorderColor { border: 1px solid #511688; }
<div style="border:3px solid #511688">Div</div>
This div border color is #511688.
.myOpacity80 { color: #511688; opacity: 0.8; }
<p style="color:#511688;opacity:0.8;">80%</p>
Text with #511688 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #511688;}
<p style="text-shadow: 3px 3px 1px #511688">Text here.</p>
This text has shadow with #511688 color.
.textShadow {text-shadow: 3px 3px 1px #511688', 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #511688, 5px 5px 20px red">Text here.</p>
This text has shadow with #511688 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#511688, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#511688, Direction=45, Strength=4)">Text</p>
This text has shadow with #511688 and red colors in old Internet Explorer.
/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #511688;
-webkit-box-shadow: 1px 1px 3px 2px #511688;
box-shadow: 1px 1px 3px 2px #511688;
}
/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #511688; -webkit-box-shadow: 1px 1px 3px 2px #511688; box-shadow:1px 1px 3px 2px #511688;">
Div content here
</div>
This text has color #511688 on black background.
This text has color #511688 on white background.
This text has black color on #511688 background.
This text has white color on #511688 background.
Complementary color for #hex is #AEE977.