HEX: #A51BE6
RGB: (165,27,230)
#A51BE6 contains mainly blue color. Web safe color of #A51BE6 is #9933CC (or #93C).
#A51BE6 color RGB value is (165,27,230).
RGB: (165,27,230) (65%,11%,90%)
R 165 of 255 = 65%
G 27 of 255 = 11%
B 230 of 255 = 90%
R + G + B ~ 55%. #A51BE6 is middle color (not dark and not light).
R + G + B =
165 + 27 + 230 = 422 (100%)
R 165 of 422 ~ 39.1%
G 27 of 422 ~ 6.4%
B 230 of 422 ~ 54.5%
#A51BE6 color CMYK value is (28,88,0,10).
CMYK: (28,88,0,10) C28M88Y0K10 (28%,88%,0%,10%) (0.28/0.88/0.00/0.10)
A5 | 1B | E6 | |
---|---|---|---|
RGB | 165 | 27 | 230 |
HSL | 281° | 80.24% | 50.39% |
HSB/HSV | 281° | 88.26% | 90.20% |
CMYK | 28.26% | 88.26% | 0.00% |
9.80% |
HEX | A5 | 1B | E6 |
Decimal | 165 | 27 | 230 |
Binary | 10100101 | 11011 | 11100110 |
Octal | 245 | 33 | 346 |
Examples of css and html codes for elements with #A51BE6 color. Also use rgb(165,27,230) instead hex code.
.myTextColor { color: #A51BE6; }
<p style="color:#A51BE6">This sample text font color is #A51BE6.</p>
This text font color is #A51BE6.
.myBgColor { background-color: #A51BE6; }
<div style="background-color:#A51BE6">Inner text</div>
This div background color is #A51BE6.
.myBorderColor { border: 1px solid #A51BE6; }
<div style="border:3px solid #A51BE6">Div</div>
This div border color is #A51BE6.
.myOpacity80 { color: #A51BE6; opacity: 0.8; }
<p style="color:#A51BE6;opacity:0.8;">80%</p>
Text with #A51BE6 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A51BE6;}
<p style="text-shadow: 3px 3px 1px #A51BE6">Text here.</p>
This text has shadow with #A51BE6 color.
.textShadow {text-shadow: 3px 3px 1px #A51BE6, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A51BE6, 5px 5px 20px red">Text here.</p>
This text has shadow with #A51BE6 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A51BE6, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A51BE6, Direction=45, Strength=4)">Text</p>
This text has shadow with #A51BE6 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A51BE6; -webkit-box-shadow: 1px 1px 3px 2px #A51BE6; box-shadow: 1px 1px 3px 2px #A51BE6; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A51BE6; -webkit-box-shadow: 1px 1px 3px 2px #A51BE6; box-shadow:1px 1px 3px 2px #A51BE6;">
Div content here</div>
This text has color #A51BE6 on black background.
This text has color #A51BE6 on white background.
This text has black color on #A51BE6 background.
This text has white color on #A51BE6 background.