HEX: #A8D397
RGB: (168,211,151)
#A8D397 contains mainly red and green colors. Web safe color of #A8D397 is #99CC99 (or #9C9).
#A8D397 color RGB value is (168,211,151).
RGB: (168,211,151) (66%,83%,59%)
R 168 of 255 = 66%
G 211 of 255 = 83%
B 151 of 255 = 59%
R + G + B ~ 69%. #A8D397 is quite light color.
R + G + B =
168 + 211 + 151 = 530 (100%)
R 168 of 530 ~ 31.7%
G 211 of 530 ~ 39.81%
B 151 of 530 ~ 28.49%
#A8D397 color CMYK value is (20,0,28,17).
CMYK: (20,0,28,17) C20M0Y28K17 (20%,0%,28%,17%) (0.20/0.00/0.28/0.17)
A8 | D3 | 97 | |
---|---|---|---|
RGB | 168 | 211 | 151 |
HSL | 103° | 40.54% | 70.98% |
HSB/HSV | 103° | 28.44% | 82.75% |
CMYK | 20.38% | 0.00% | 28.44% |
17.25% |
HEX | A8 | D3 | 97 |
Decimal | 168 | 211 | 151 |
Binary | 10101000 | 11010011 | 10010111 |
Octal | 250 | 323 | 227 |
Examples of css and html codes for elements with #A8D397 color. Also use rgb(168,211,151) instead hex code.
.myTextColor { color: #A8D397; }
<p style="color:#A8D397">This sample text font color is #A8D397.</p>
This text font color is #A8D397.
.myBgColor { background-color: #A8D397; }
<div style="background-color:#A8D397">Inner text</div>
This div background color is #A8D397.
.myBorderColor { border: 1px solid #A8D397; }
<div style="border:3px solid #A8D397">Div</div>
This div border color is #A8D397.
.myOpacity80 { color: #A8D397; opacity: 0.8; }
<p style="color:#A8D397;opacity:0.8;">80%</p>
Text with #A8D397 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A8D397;}
<p style="text-shadow: 3px 3px 1px #A8D397">Text here.</p>
This text has shadow with #A8D397 color.
.textShadow {text-shadow: 3px 3px 1px #A8D397, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A8D397, 5px 5px 20px red">Text here.</p>
This text has shadow with #A8D397 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A8D397, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A8D397, Direction=45, Strength=4)">Text</p>
This text has shadow with #A8D397 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A8D397; -webkit-box-shadow: 1px 1px 3px 2px #A8D397; box-shadow: 1px 1px 3px 2px #A8D397; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A8D397; -webkit-box-shadow: 1px 1px 3px 2px #A8D397; box-shadow:1px 1px 3px 2px #A8D397;">
Div content here</div>
This text has color #A8D397 on black background.
This text has color #A8D397 on white background.
This text has black color on #A8D397 background.
This text has white color on #A8D397 background.