HEX: #7CB498
RGB: (124,180,152)
#7CB498 contains red, green and blue colors in about the same proportion. Web safe color of #7CB498 is #66CC99 (or #6C9).
#7CB498 color RGB value is (124,180,152).
RGB: (124,180,152) (49%,71%,60%)
R 124 of 255 = 49%
G 180 of 255 = 71%
B 152 of 255 = 60%
R + G + B ~ 60%. #7CB498 is middle color (not dark and not light).
R + G + B =
124 + 180 + 152 = 456 (100%)
R 124 of 456 ~ 27.19%
G 180 of 456 ~ 39.47%
B 152 of 456 ~ 33.33%
#7CB498 color CMYK value is (31,0,16,29).
CMYK: (31,0,16,29) C31M0Y16K29 (31%,0%,16%,29%) (0.31/0.00/0.16/0.29)
7C | B4 | 98 | |
---|---|---|---|
RGB | 124 | 180 | 152 |
HSL | 150° | 27.18% | 59.61% |
HSB/HSV | 150° | 31.11% | 70.59% |
CMYK | 31.11% | 0.00% | 15.56% |
29.41% |
HEX | 7C | B4 | 98 |
Decimal | 124 | 180 | 152 |
Binary | 1111100 | 10110100 | 10011000 |
Octal | 174 | 264 | 230 |
Examples of css and html codes for elements with #7CB498 color. Also use rgb(124,180,152) instead hex code.
.myTextColor { color: #7CB498; }
<p style="color:#7CB498">This sample text font color is #7CB498.</p>
This text font color is #7CB498.
.myBgColor { background-color: #7CB498; }
<div style="background-color:#7CB498">Inner text</div>
This div background color is #7CB498.
.myBorderColor { border: 1px solid #7CB498; }
<div style="border:3px solid #7CB498">Div</div>
This div border color is #7CB498.
.myOpacity80 { color: #7CB498; opacity: 0.8; }
<p style="color:#7CB498;opacity:0.8;">80%</p>
Text with #7CB498 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7CB498;}
<p style="text-shadow: 3px 3px 1px #7CB498">Text here.</p>
This text has shadow with #7CB498 color.
.textShadow {text-shadow: 3px 3px 1px #7CB498, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7CB498, 5px 5px 20px red">Text here.</p>
This text has shadow with #7CB498 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7CB498, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7CB498, Direction=45, Strength=4)">Text</p>
This text has shadow with #7CB498 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7CB498; -webkit-box-shadow: 1px 1px 3px 2px #7CB498; box-shadow: 1px 1px 3px 2px #7CB498; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7CB498; -webkit-box-shadow: 1px 1px 3px 2px #7CB498; box-shadow:1px 1px 3px 2px #7CB498;">
Div content here</div>
This text has color #7CB498 on black background.
This text has color #7CB498 on white background.
This text has black color on #7CB498 background.
This text has white color on #7CB498 background.