HEX: #628272
RGB: (98,130,114)
#628272 contains red, green and blue colors in about the same proportion. Web safe color of #628272 is #669966 (or #696).
#628272 color RGB value is (98,130,114).
RGB: (98,130,114) (38%,51%,45%)
R 98 of 255 = 38%
G 130 of 255 = 51%
B 114 of 255 = 45%
R + G + B ~ 45%. #628272 is middle color (not dark and not light).
R + G + B =
98 + 130 + 114 = 342 (100%)
R 98 of 342 ~ 28.65%
G 130 of 342 ~ 38.01%
B 114 of 342 ~ 33.33%
#628272 color CMYK value is (25,0,12,49).
CMYK: (25,0,12,49) C25M0Y12K49 (25%,0%,12%,49%) (0.25/0.00/0.12/0.49)
62 | 82 | 72 | |
---|---|---|---|
RGB | 98 | 130 | 114 |
HSL | 150° | 14.04% | 44.71% |
HSB/HSV | 150° | 24.62% | 50.98% |
CMYK | 24.62% | 0.00% | 12.31% |
49.02% |
HEX | 62 | 82 | 72 |
Decimal | 98 | 130 | 114 |
Binary | 1100010 | 10000010 | 1110010 |
Octal | 142 | 202 | 162 |
Examples of css and html codes for elements with #628272 color. Also use rgb(98,130,114) instead hex code.
.myTextColor { color: #628272; }
<p style="color:#628272">This sample text font color is #628272.</p>
This text font color is #628272.
.myBgColor { background-color: #628272; }
<div style="background-color:#628272">Inner text</div>
This div background color is #628272.
.myBorderColor { border: 1px solid #628272; }
<div style="border:3px solid #628272">Div</div>
This div border color is #628272.
.myOpacity80 { color: #628272; opacity: 0.8; }
<p style="color:#628272;opacity:0.8;">80%</p>
Text with #628272 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #628272;}
<p style="text-shadow: 3px 3px 1px #628272">Text here.</p>
This text has shadow with #628272 color.
.textShadow {text-shadow: 3px 3px 1px #628272, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #628272, 5px 5px 20px red">Text here.</p>
This text has shadow with #628272 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#628272, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#628272, Direction=45, Strength=4)">Text</p>
This text has shadow with #628272 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #628272; -webkit-box-shadow: 1px 1px 3px 2px #628272; box-shadow: 1px 1px 3px 2px #628272; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #628272; -webkit-box-shadow: 1px 1px 3px 2px #628272; box-shadow:1px 1px 3px 2px #628272;">
Div content here</div>
This text has color #628272 on black background.
This text has color #628272 on white background.
This text has black color on #628272 background.
This text has white color on #628272 background.