HEX: #A2D478
RGB: (162,212,120)
#A2D478 contains mainly red and green colors. Web safe color of #A2D478 is #99CC66 (or #9C6).
#A2D478 color RGB value is (162,212,120).
RGB: (162,212,120) (64%,83%,47%)
R 162 of 255 = 64%
G 212 of 255 = 83%
B 120 of 255 = 47%
R + G + B ~ 65%. #A2D478 is quite light color.
R + G + B =
162 + 212 + 120 = 494 (100%)
R 162 of 494 ~ 32.79%
G 212 of 494 ~ 42.91%
B 120 of 494 ~ 24.29%
#A2D478 color CMYK value is (24,0,43,17).
CMYK: (24,0,43,17) C24M0Y43K17 (24%,0%,43%,17%) (0.24/0.00/0.43/0.17)
A2 | D4 | 78 | |
---|---|---|---|
RGB | 162 | 212 | 120 |
HSL | 93° | 51.69% | 65.10% |
HSB/HSV | 93° | 43.40% | 83.14% |
CMYK | 23.58% | 0.00% | 43.40% |
16.86% |
HEX | A2 | D4 | 78 |
Decimal | 162 | 212 | 120 |
Binary | 10100010 | 11010100 | 1111000 |
Octal | 242 | 324 | 170 |
Examples of css and html codes for elements with #A2D478 color. Also use rgb(162,212,120) instead hex code.
.myTextColor { color: #A2D478; }
<p style="color:#A2D478">This sample text font color is #A2D478.</p>
This text font color is #A2D478.
.myBgColor { background-color: #A2D478; }
<div style="background-color:#A2D478">Inner text</div>
This div background color is #A2D478.
.myBorderColor { border: 1px solid #A2D478; }
<div style="border:3px solid #A2D478">Div</div>
This div border color is #A2D478.
.myOpacity80 { color: #A2D478; opacity: 0.8; }
<p style="color:#A2D478;opacity:0.8;">80%</p>
Text with #A2D478 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A2D478;}
<p style="text-shadow: 3px 3px 1px #A2D478">Text here.</p>
This text has shadow with #A2D478 color.
.textShadow {text-shadow: 3px 3px 1px #A2D478, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A2D478, 5px 5px 20px red">Text here.</p>
This text has shadow with #A2D478 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A2D478, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A2D478, Direction=45, Strength=4)">Text</p>
This text has shadow with #A2D478 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A2D478; -webkit-box-shadow: 1px 1px 3px 2px #A2D478; box-shadow: 1px 1px 3px 2px #A2D478; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A2D478; -webkit-box-shadow: 1px 1px 3px 2px #A2D478; box-shadow:1px 1px 3px 2px #A2D478;">
Div content here</div>
This text has color #A2D478 on black background.
This text has color #A2D478 on white background.
This text has black color on #A2D478 background.
This text has white color on #A2D478 background.