HEX: #A5983C
RGB: (165,152,60)
#A5983C contains mainly red and green colors. Web safe color of #A5983C is #999933 (or #993).
#A5983C color RGB value is (165,152,60).
RGB: (165,152,60) (65%,60%,24%)
R 165 of 255 = 65%
G 152 of 255 = 60%
B 60 of 255 = 24%
R + G + B ~ 50%. #A5983C is middle color (not dark and not light).
R + G + B =
165 + 152 + 60 = 377 (100%)
R 165 of 377 ~ 43.77%
G 152 of 377 ~ 40.32%
B 60 of 377 ~ 15.92%
#A5983C color CMYK value is (0,8,64,35).
CMYK: (0,8,64,35) C0M8Y64K35 (0%,8%,64%,35%) (0.00/0.08/0.64/0.35)
A5 | 98 | 3C | |
---|---|---|---|
RGB | 165 | 152 | 60 |
HSL | 53° | 46.67% | 44.12% |
HSB/HSV | 53° | 63.64% | 64.71% |
CMYK | 0.00% | 7.88% | 63.64% |
35.29% |
HEX | A5 | 98 | 3C |
Decimal | 165 | 152 | 60 |
Binary | 10100101 | 10011000 | 111100 |
Octal | 245 | 230 | 74 |
Examples of css and html codes for elements with #A5983C color. Also use rgb(165,152,60) instead hex code.
.myTextColor { color: #A5983C; }
<p style="color:#A5983C">This sample text font color is #A5983C.</p>
This text font color is #A5983C.
.myBgColor { background-color: #A5983C; }
<div style="background-color:#A5983C">Inner text</div>
This div background color is #A5983C.
.myBorderColor { border: 1px solid #A5983C; }
<div style="border:3px solid #A5983C">Div</div>
This div border color is #A5983C.
.myOpacity80 { color: #A5983C; opacity: 0.8; }
<p style="color:#A5983C;opacity:0.8;">80%</p>
Text with #A5983C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A5983C;}
<p style="text-shadow: 3px 3px 1px #A5983C">Text here.</p>
This text has shadow with #A5983C color.
.textShadow {text-shadow: 3px 3px 1px #A5983C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A5983C, 5px 5px 20px red">Text here.</p>
This text has shadow with #A5983C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A5983C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A5983C, Direction=45, Strength=4)">Text</p>
This text has shadow with #A5983C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A5983C; -webkit-box-shadow: 1px 1px 3px 2px #A5983C; box-shadow: 1px 1px 3px 2px #A5983C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A5983C; -webkit-box-shadow: 1px 1px 3px 2px #A5983C; box-shadow:1px 1px 3px 2px #A5983C;">
Div content here</div>
This text has color #A5983C on black background.
This text has color #A5983C on white background.
This text has black color on #A5983C background.
This text has white color on #A5983C background.