HEX: #B51EAE
RGB: (181,30,174)
#B51EAE contains mainly red and blue colors. Web safe color of #B51EAE is #CC3399 (or #C39).
#B51EAE color RGB value is (181,30,174).
RGB: (181,30,174) (71%,12%,68%)
R 181 of 255 = 71%
G 30 of 255 = 12%
B 174 of 255 = 68%
R + G + B ~ 50%. #B51EAE is middle color (not dark and not light).
R + G + B =
181 + 30 + 174 = 385 (100%)
R 181 of 385 ~ 47.01%
G 30 of 385 ~ 7.79%
B 174 of 385 ~ 45.19%
#B51EAE color CMYK value is (0,83,4,29).
CMYK: (0,83,4,29) C0M83Y4K29 (0%,83%,4%,29%) (0.00/0.83/0.04/0.29)
B5 | 1E | AE | |
---|---|---|---|
RGB | 181 | 30 | 174 |
HSL | 303° | 71.56% | 41.37% |
HSB/HSV | 303° | 83.43% | 70.98% |
CMYK | 0.00% | 83.43% | 3.87% |
29.02% |
HEX | B5 | 1E | AE |
Decimal | 181 | 30 | 174 |
Binary | 10110101 | 11110 | 10101110 |
Octal | 265 | 36 | 256 |
Examples of css and html codes for elements with #B51EAE color. Also use rgb(181,30,174) instead hex code.
.myTextColor { color: #B51EAE; }
<p style="color:#B51EAE">This sample text font color is #B51EAE.</p>
This text font color is #B51EAE.
.myBgColor { background-color: #B51EAE; }
<div style="background-color:#B51EAE">Inner text</div>
This div background color is #B51EAE.
.myBorderColor { border: 1px solid #B51EAE; }
<div style="border:3px solid #B51EAE">Div</div>
This div border color is #B51EAE.
.myOpacity80 { color: #B51EAE; opacity: 0.8; }
<p style="color:#B51EAE;opacity:0.8;">80%</p>
Text with #B51EAE color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B51EAE;}
<p style="text-shadow: 3px 3px 1px #B51EAE">Text here.</p>
This text has shadow with #B51EAE color.
.textShadow {text-shadow: 3px 3px 1px #B51EAE, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B51EAE, 5px 5px 20px red">Text here.</p>
This text has shadow with #B51EAE primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B51EAE, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B51EAE, Direction=45, Strength=4)">Text</p>
This text has shadow with #B51EAE and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B51EAE; -webkit-box-shadow: 1px 1px 3px 2px #B51EAE; box-shadow: 1px 1px 3px 2px #B51EAE; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B51EAE; -webkit-box-shadow: 1px 1px 3px 2px #B51EAE; box-shadow:1px 1px 3px 2px #B51EAE;">
Div content here</div>
This text has color #B51EAE on black background.
This text has color #B51EAE on white background.
This text has black color on #B51EAE background.
This text has white color on #B51EAE background.