HEX: #A6D53A
RGB: (166,213,58)
#A6D53A contains mainly red and green colors. Web safe color of #A6D53A is #99CC33 (or #9C3).
#A6D53A color RGB value is (166,213,58).
RGB: (166,213,58) (65%,84%,23%)
R 166 of 255 = 65%
G 213 of 255 = 84%
B 58 of 255 = 23%
R + G + B ~ 57%. #A6D53A is middle color (not dark and not light).
R + G + B =
166 + 213 + 58 = 437 (100%)
R 166 of 437 ~ 37.99%
G 213 of 437 ~ 48.74%
B 58 of 437 ~ 13.27%
#A6D53A color CMYK value is (22,0,73,16).
CMYK: (22,0,73,16) C22M0Y73K16 (22%,0%,73%,16%) (0.22/0.00/0.73/0.16)
A6 | D5 | 3A | |
---|---|---|---|
RGB | 166 | 213 | 58 |
HSL | 78° | 64.85% | 53.14% |
HSB/HSV | 78° | 72.77% | 83.53% |
CMYK | 22.07% | 0.00% | 72.77% |
16.47% |
HEX | A6 | D5 | 3A |
Decimal | 166 | 213 | 58 |
Binary | 10100110 | 11010101 | 111010 |
Octal | 246 | 325 | 72 |
Examples of css and html codes for elements with #A6D53A color. Also use rgb(166,213,58) instead hex code.
.myTextColor { color: #A6D53A; }
<p style="color:#A6D53A">This sample text font color is #A6D53A.</p>
This text font color is #A6D53A.
.myBgColor { background-color: #A6D53A; }
<div style="background-color:#A6D53A">Inner text</div>
This div background color is #A6D53A.
.myBorderColor { border: 1px solid #A6D53A; }
<div style="border:3px solid #A6D53A">Div</div>
This div border color is #A6D53A.
.myOpacity80 { color: #A6D53A; opacity: 0.8; }
<p style="color:#A6D53A;opacity:0.8;">80%</p>
Text with #A6D53A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A6D53A;}
<p style="text-shadow: 3px 3px 1px #A6D53A">Text here.</p>
This text has shadow with #A6D53A color.
.textShadow {text-shadow: 3px 3px 1px #A6D53A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A6D53A, 5px 5px 20px red">Text here.</p>
This text has shadow with #A6D53A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A6D53A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A6D53A, Direction=45, Strength=4)">Text</p>
This text has shadow with #A6D53A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A6D53A; -webkit-box-shadow: 1px 1px 3px 2px #A6D53A; box-shadow: 1px 1px 3px 2px #A6D53A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A6D53A; -webkit-box-shadow: 1px 1px 3px 2px #A6D53A; box-shadow:1px 1px 3px 2px #A6D53A;">
Div content here</div>
This text has color #A6D53A on black background.
This text has color #A6D53A on white background.
This text has black color on #A6D53A background.
This text has white color on #A6D53A background.