HEX: #A5B912
RGB: (165,185,18)
#A5B912 contains mainly red and green colors. Web safe color of #A5B912 is #99CC00 (or #9C0).
#A5B912 color RGB value is (165,185,18).
RGB: (165,185,18) (65%,73%,7%)
R 165 of 255 = 65%
G 185 of 255 = 73%
B 18 of 255 = 7%
R + G + B ~ 48%. #A5B912 is middle color (not dark and not light).
R + G + B =
165 + 185 + 18 = 368 (100%)
R 165 of 368 ~ 44.84%
G 185 of 368 ~ 50.27%
B 18 of 368 ~ 4.89%
#A5B912 color CMYK value is (11,0,90,27).
CMYK: (11,0,90,27) C11M0Y90K27 (11%,0%,90%,27%) (0.11/0.00/0.90/0.27)
A5 | B9 | 12 | |
---|---|---|---|
RGB | 165 | 185 | 18 |
HSL | 67° | 82.27% | 39.80% |
HSB/HSV | 67° | 90.27% | 72.55% |
CMYK | 10.81% | 0.00% | 90.27% |
27.45% |
HEX | A5 | B9 | 12 |
Decimal | 165 | 185 | 18 |
Binary | 10100101 | 10111001 | 10010 |
Octal | 245 | 271 | 22 |
Examples of css and html codes for elements with #A5B912 color. Also use rgb(165,185,18) instead hex code.
.myTextColor { color: #A5B912; }
<p style="color:#A5B912">This sample text font color is #A5B912.</p>
This text font color is #A5B912.
.myBgColor { background-color: #A5B912; }
<div style="background-color:#A5B912">Inner text</div>
This div background color is #A5B912.
.myBorderColor { border: 1px solid #A5B912; }
<div style="border:3px solid #A5B912">Div</div>
This div border color is #A5B912.
.myOpacity80 { color: #A5B912; opacity: 0.8; }
<p style="color:#A5B912;opacity:0.8;">80%</p>
Text with #A5B912 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A5B912;}
<p style="text-shadow: 3px 3px 1px #A5B912">Text here.</p>
This text has shadow with #A5B912 color.
.textShadow {text-shadow: 3px 3px 1px #A5B912, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A5B912, 5px 5px 20px red">Text here.</p>
This text has shadow with #A5B912 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A5B912, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A5B912, Direction=45, Strength=4)">Text</p>
This text has shadow with #A5B912 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A5B912; -webkit-box-shadow: 1px 1px 3px 2px #A5B912; box-shadow: 1px 1px 3px 2px #A5B912; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A5B912; -webkit-box-shadow: 1px 1px 3px 2px #A5B912; box-shadow:1px 1px 3px 2px #A5B912;">
Div content here</div>
This text has color #A5B912 on black background.
This text has color #A5B912 on white background.
This text has black color on #A5B912 background.
This text has white color on #A5B912 background.