HEX: #AFD17D
RGB: (175,209,125)
#AFD17D contains mainly red and green colors. Web safe color of #AFD17D is #99CC66 (or #9C6).
#AFD17D color RGB value is (175,209,125).
RGB: (175,209,125) (69%,82%,49%)
R 175 of 255 = 69%
G 209 of 255 = 82%
B 125 of 255 = 49%
R + G + B ~ 67%. #AFD17D is quite light color.
R + G + B =
175 + 209 + 125 = 509 (100%)
R 175 of 509 ~ 34.38%
G 209 of 509 ~ 41.06%
B 125 of 509 ~ 24.56%
#AFD17D color CMYK value is (16,0,40,18).
CMYK: (16,0,40,18) C16M0Y40K18 (16%,0%,40%,18%) (0.16/0.00/0.40/0.18)
AF | D1 | 7D | |
---|---|---|---|
RGB | 175 | 209 | 125 |
HSL | 84° | 47.73% | 65.49% |
HSB/HSV | 84° | 40.19% | 81.96% |
CMYK | 16.27% | 0.00% | 40.19% |
18.04% |
HEX | AF | D1 | 7D |
Decimal | 175 | 209 | 125 |
Binary | 10101111 | 11010001 | 1111101 |
Octal | 257 | 321 | 175 |
Examples of css and html codes for elements with #AFD17D color. Also use rgb(175,209,125) instead hex code.
.myTextColor { color: #AFD17D; }
<p style="color:#AFD17D">This sample text font color is #AFD17D.</p>
This text font color is #AFD17D.
.myBgColor { background-color: #AFD17D; }
<div style="background-color:#AFD17D">Inner text</div>
This div background color is #AFD17D.
.myBorderColor { border: 1px solid #AFD17D; }
<div style="border:3px solid #AFD17D">Div</div>
This div border color is #AFD17D.
.myOpacity80 { color: #AFD17D; opacity: 0.8; }
<p style="color:#AFD17D;opacity:0.8;">80%</p>
Text with #AFD17D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AFD17D;}
<p style="text-shadow: 3px 3px 1px #AFD17D">Text here.</p>
This text has shadow with #AFD17D color.
.textShadow {text-shadow: 3px 3px 1px #AFD17D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AFD17D, 5px 5px 20px red">Text here.</p>
This text has shadow with #AFD17D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AFD17D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AFD17D, Direction=45, Strength=4)">Text</p>
This text has shadow with #AFD17D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AFD17D; -webkit-box-shadow: 1px 1px 3px 2px #AFD17D; box-shadow: 1px 1px 3px 2px #AFD17D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AFD17D; -webkit-box-shadow: 1px 1px 3px 2px #AFD17D; box-shadow:1px 1px 3px 2px #AFD17D;">
Div content here</div>
This text has color #AFD17D on black background.
This text has color #AFD17D on white background.
This text has black color on #AFD17D background.
This text has white color on #AFD17D background.