HEX: #9ACD32
RGB: (154,205,50)
Color name is YellowGreen. #9ACD32 contains mainly red and green colors. Web safe color of #9ACD32 is #99CC33 (or #9C3).
#9ACD32 color RGB value is (154,205,50).
RGB: (154,205,50) (60%,80%,20%)
R 154 of 255 = 60%
G 205 of 255 = 80%
B 50 of 255 = 20%
R + G + B ~ 53%. #9ACD32 is middle color (not dark and not light).
R + G + B =
154 + 205 + 50 = 409 (100%)
R 154 of 409 ~ 37.65%
G 205 of 409 ~ 50.12%
B 50 of 409 ~ 12.22%
#9ACD32 color CMYK value is (25,0,76,20).
CMYK: (25,0,76,20) C25M0Y76K20 (25%,0%,76%,20%) (0.25/0.00/0.76/0.20)
9A | CD | 32 | |
---|---|---|---|
RGB | 154 | 205 | 50 |
HSL | 80° | 60.78% | 50.00% |
HSB/HSV | 80° | 75.61% | 80.39% |
CMYK | 24.88% | 0.00% | 75.61% |
19.61% |
HEX | 9A | CD | 32 |
Decimal | 154 | 205 | 50 |
Binary | 10011010 | 11001101 | 110010 |
Octal | 232 | 315 | 62 |
Examples of css and html codes for elements with #9ACD32 color. Also use rgb(154,205,50) instead hex code.
.myTextColor { color: #9ACD32; }
<p style="color:#9ACD32">This sample text font color is #9ACD32.</p>
This text font color is #9ACD32.
.myBgColor { background-color: #9ACD32; }
<div style="background-color:#9ACD32">Inner text</div>
This div background color is #9ACD32.
.myBorderColor { border: 1px solid #9ACD32; }
<div style="border:3px solid #9ACD32">Div</div>
This div border color is #9ACD32.
.myOpacity80 { color: #9ACD32; opacity: 0.8; }
<p style="color:#9ACD32;opacity:0.8;">80%</p>
Text with #9ACD32 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #9ACD32;}
<p style="text-shadow: 3px 3px 1px #9ACD32">Text here.</p>
This text has shadow with #9ACD32 color.
.textShadow {text-shadow: 3px 3px 1px #9ACD32, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #9ACD32, 5px 5px 20px red">Text here.</p>
This text has shadow with #9ACD32 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#9ACD32, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#9ACD32, Direction=45, Strength=4)">Text</p>
This text has shadow with #9ACD32 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #9ACD32; -webkit-box-shadow: 1px 1px 3px 2px #9ACD32; box-shadow: 1px 1px 3px 2px #9ACD32; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #9ACD32; -webkit-box-shadow: 1px 1px 3px 2px #9ACD32; box-shadow:1px 1px 3px 2px #9ACD32;">
Div content here</div>
This text has color #9ACD32 on black background.
This text has color #9ACD32 on white background.
This text has black color on #9ACD32 background.
This text has white color on #9ACD32 background.