HEX: #511CE9
RGB: (81,28,233)
#511CE9 contains mainly blue color. Web safe color of #511CE9 is #6633FF (or #63F).
#511CE9 color RGB value is (81,28,233).
RGB: (81,28,233) (32%,11%,91%)
R 81 of 255 = 32%
G 28 of 255 = 11%
B 233 of 255 = 91%
R + G + B ~ 45%. #511CE9 is middle color (not dark and not light).
R + G + B =
81 + 28 + 233 = 342 (100%)
R 81 of 342 ~ 23.68%
G 28 of 342 ~ 8.19%
B 233 of 342 ~ 68.13%
#511CE9 color CMYK value is (65,88,0,9).
CMYK: (65,88,0,9) C65M88Y0K9 (65%,88%,0%,9%) (0.65/0.88/0.00/0.09)
51 | 1C | E9 | |
---|---|---|---|
RGB | 81 | 28 | 233 |
HSL | 256° | 82.33% | 51.18% |
HSB/HSV | 256° | 87.98% | 91.37% |
CMYK | 65.24% | 87.98% | 0.00% |
8.63% |
HEX | 51 | 1C | E9 |
Decimal | 81 | 28 | 233 |
Binary | 1010001 | 11100 | 11101001 |
Octal | 121 | 34 | 351 |
Examples of css and html codes for elements with #511CE9 color. Also use rgb(81,28,233) instead hex code.
.myTextColor { color: #511CE9; }
<p style="color:#511CE9">This sample text font color is #511CE9.</p>
This text font color is #511CE9.
.myBgColor { background-color: #511CE9; }
<div style="background-color:#511CE9">Inner text</div>
This div background color is #511CE9.
.myBorderColor { border: 1px solid #511CE9; }
<div style="border:3px solid #511CE9">Div</div>
This div border color is #511CE9.
.myOpacity80 { color: #511CE9; opacity: 0.8; }
<p style="color:#511CE9;opacity:0.8;">80%</p>
Text with #511CE9 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #511CE9;}
<p style="text-shadow: 3px 3px 1px #511CE9">Text here.</p>
This text has shadow with #511CE9 color.
.textShadow {text-shadow: 3px 3px 1px #511CE9, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #511CE9, 5px 5px 20px red">Text here.</p>
This text has shadow with #511CE9 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#511CE9, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#511CE9, Direction=45, Strength=4)">Text</p>
This text has shadow with #511CE9 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #511CE9; -webkit-box-shadow: 1px 1px 3px 2px #511CE9; box-shadow: 1px 1px 3px 2px #511CE9; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #511CE9; -webkit-box-shadow: 1px 1px 3px 2px #511CE9; box-shadow:1px 1px 3px 2px #511CE9;">
Div content here</div>
This text has color #511CE9 on black background.
This text has color #511CE9 on white background.
This text has black color on #511CE9 background.
This text has white color on #511CE9 background.