HEX: #5C741C
RGB: (92,116,28)
#5C741C contains mainly red and green colors. Web safe color of #5C741C is #666633 (or #663).
#5C741C color RGB value is (92,116,28).
RGB: (92,116,28) (36%,45%,11%)
R 92 of 255 = 36%
G 116 of 255 = 45%
B 28 of 255 = 11%
R + G + B ~ 31%. #5C741C is quite dark color.
R + G + B =
92 + 116 + 28 = 236 (100%)
R 92 of 236 ~ 38.98%
G 116 of 236 ~ 49.15%
B 28 of 236 ~ 11.86%
#5C741C color CMYK value is (21,0,76,55).
CMYK: (21,0,76,55) C21M0Y76K55 (21%,0%,76%,55%) (0.21/0.00/0.76/0.55)
5C | 74 | 1C | |
---|---|---|---|
RGB | 92 | 116 | 28 |
HSL | 76° | 61.11% | 28.24% |
HSB/HSV | 76° | 75.86% | 45.49% |
CMYK | 20.69% | 0.00% | 75.86% |
54.51% |
HEX | 5C | 74 | 1C |
Decimal | 92 | 116 | 28 |
Binary | 1011100 | 1110100 | 11100 |
Octal | 134 | 164 | 34 |
Examples of css and html codes for elements with #5C741C color. Also use rgb(92,116,28) instead hex code.
.myTextColor { color: #5C741C; }
<p style="color:#5C741C">This sample text font color is #5C741C.</p>
This text font color is #5C741C.
.myBgColor { background-color: #5C741C; }
<div style="background-color:#5C741C">Inner text</div>
This div background color is #5C741C.
.myBorderColor { border: 1px solid #5C741C; }
<div style="border:3px solid #5C741C">Div</div>
This div border color is #5C741C.
.myOpacity80 { color: #5C741C; opacity: 0.8; }
<p style="color:#5C741C;opacity:0.8;">80%</p>
Text with #5C741C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #5C741C;}
<p style="text-shadow: 3px 3px 1px #5C741C">Text here.</p>
This text has shadow with #5C741C color.
.textShadow {text-shadow: 3px 3px 1px #5C741C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #5C741C, 5px 5px 20px red">Text here.</p>
This text has shadow with #5C741C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#5C741C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#5C741C, Direction=45, Strength=4)">Text</p>
This text has shadow with #5C741C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #5C741C; -webkit-box-shadow: 1px 1px 3px 2px #5C741C; box-shadow: 1px 1px 3px 2px #5C741C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #5C741C; -webkit-box-shadow: 1px 1px 3px 2px #5C741C; box-shadow:1px 1px 3px 2px #5C741C;">
Div content here</div>
This text has color #5C741C on black background.
This text has color #5C741C on white background.
This text has black color on #5C741C background.
This text has white color on #5C741C background.