HEX: #C7978A
RGB: (199,151,138)
#C7978A contains mainly red and green colors. Web safe color of #C7978A is #CC9999 (or #C99).
#C7978A color RGB value is (199,151,138).
RGB: (199,151,138) (78%,59%,54%)
R 199 of 255 = 78%
G 151 of 255 = 59%
B 138 of 255 = 54%
R + G + B ~ 64%. #C7978A is quite light color.
R + G + B =
199 + 151 + 138 = 488 (100%)
R 199 of 488 ~ 40.78%
G 151 of 488 ~ 30.94%
B 138 of 488 ~ 28.28%
#C7978A color CMYK value is (0,24,31,22).
CMYK: (0,24,31,22) C0M24Y31K22 (0%,24%,31%,22%) (0.00/0.24/0.31/0.22)
C7 | 97 | 8A | |
---|---|---|---|
RGB | 199 | 151 | 138 |
HSL | 13° | 35.26% | 66.08% |
HSB/HSV | 13° | 30.65% | 78.04% |
CMYK | 0.00% | 24.12% | 30.65% |
21.96% |
HEX | C7 | 97 | 8A |
Decimal | 199 | 151 | 138 |
Binary | 11000111 | 10010111 | 10001010 |
Octal | 307 | 227 | 212 |
Examples of css and html codes for elements with #C7978A color. Also use rgb(199,151,138) instead hex code.
.myTextColor { color: #C7978A; }
<p style="color:#C7978A">This sample text font color is #C7978A.</p>
This text font color is #C7978A.
.myBgColor { background-color: #C7978A; }
<div style="background-color:#C7978A">Inner text</div>
This div background color is #C7978A.
.myBorderColor { border: 1px solid #C7978A; }
<div style="border:3px solid #C7978A">Div</div>
This div border color is #C7978A.
.myOpacity80 { color: #C7978A; opacity: 0.8; }
<p style="color:#C7978A;opacity:0.8;">80%</p>
Text with #C7978A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C7978A;}
<p style="text-shadow: 3px 3px 1px #C7978A">Text here.</p>
This text has shadow with #C7978A color.
.textShadow {text-shadow: 3px 3px 1px #C7978A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C7978A, 5px 5px 20px red">Text here.</p>
This text has shadow with #C7978A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C7978A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C7978A, Direction=45, Strength=4)">Text</p>
This text has shadow with #C7978A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C7978A; -webkit-box-shadow: 1px 1px 3px 2px #C7978A; box-shadow: 1px 1px 3px 2px #C7978A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C7978A; -webkit-box-shadow: 1px 1px 3px 2px #C7978A; box-shadow:1px 1px 3px 2px #C7978A;">
Div content here</div>
This text has color #C7978A on black background.
This text has color #C7978A on white background.
This text has black color on #C7978A background.
This text has white color on #C7978A background.