HEX: #A5DC31
RGB: (165,220,49)
#A5DC31 contains mainly red and green colors. Web safe color of #A5DC31 is #99CC33 (or #9C3).
#A5DC31 color RGB value is (165,220,49).
RGB: (165,220,49) (65%,86%,19%)
R 165 of 255 = 65%
G 220 of 255 = 86%
B 49 of 255 = 19%
R + G + B ~ 57%. #A5DC31 is middle color (not dark and not light).
R + G + B =
165 + 220 + 49 = 434 (100%)
R 165 of 434 ~ 38.02%
G 220 of 434 ~ 50.69%
B 49 of 434 ~ 11.29%
#A5DC31 color CMYK value is (25,0,78,14).
CMYK: (25,0,78,14) C25M0Y78K14 (25%,0%,78%,14%) (0.25/0.00/0.78/0.14)
A5 | DC | 31 | |
---|---|---|---|
RGB | 165 | 220 | 49 |
HSL | 79° | 70.95% | 52.75% |
HSB/HSV | 79° | 77.73% | 86.27% |
CMYK | 25.00% | 0.00% | 77.73% |
13.73% |
HEX | A5 | DC | 31 |
Decimal | 165 | 220 | 49 |
Binary | 10100101 | 11011100 | 110001 |
Octal | 245 | 334 | 61 |
Examples of css and html codes for elements with #A5DC31 color. Also use rgb(165,220,49) instead hex code.
.myTextColor { color: #A5DC31; }
<p style="color:#A5DC31">This sample text font color is #A5DC31.</p>
This text font color is #A5DC31.
.myBgColor { background-color: #A5DC31; }
<div style="background-color:#A5DC31">Inner text</div>
This div background color is #A5DC31.
.myBorderColor { border: 1px solid #A5DC31; }
<div style="border:3px solid #A5DC31">Div</div>
This div border color is #A5DC31.
.myOpacity80 { color: #A5DC31; opacity: 0.8; }
<p style="color:#A5DC31;opacity:0.8;">80%</p>
Text with #A5DC31 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A5DC31;}
<p style="text-shadow: 3px 3px 1px #A5DC31">Text here.</p>
This text has shadow with #A5DC31 color.
.textShadow {text-shadow: 3px 3px 1px #A5DC31, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A5DC31, 5px 5px 20px red">Text here.</p>
This text has shadow with #A5DC31 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A5DC31, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A5DC31, Direction=45, Strength=4)">Text</p>
This text has shadow with #A5DC31 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A5DC31; -webkit-box-shadow: 1px 1px 3px 2px #A5DC31; box-shadow: 1px 1px 3px 2px #A5DC31; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A5DC31; -webkit-box-shadow: 1px 1px 3px 2px #A5DC31; box-shadow:1px 1px 3px 2px #A5DC31;">
Div content here</div>
This text has color #A5DC31 on black background.
This text has color #A5DC31 on white background.
This text has black color on #A5DC31 background.
This text has white color on #A5DC31 background.