HEX: #C998B1
RGB: (201,152,177)
#C998B1 contains red, green and blue colors in about the same proportion. Web safe color of #C998B1 is #CC9999 (or #C99).
#C998B1 color RGB value is (201,152,177).
RGB: (201,152,177) (79%,60%,69%)
R 201 of 255 = 79%
G 152 of 255 = 60%
B 177 of 255 = 69%
R + G + B ~ 69%. #C998B1 is quite light color.
R + G + B =
201 + 152 + 177 = 530 (100%)
R 201 of 530 ~ 37.92%
G 152 of 530 ~ 28.68%
B 177 of 530 ~ 33.4%
#C998B1 color CMYK value is (0,24,12,21).
CMYK: (0,24,12,21) C0M24Y12K21 (0%,24%,12%,21%) (0.00/0.24/0.12/0.21)
C9 | 98 | B1 | |
---|---|---|---|
RGB | 201 | 152 | 177 |
HSL | 329° | 31.21% | 69.22% |
HSB/HSV | 329° | 24.38% | 78.82% |
CMYK | 0.00% | 24.38% | 11.94% |
21.18% |
HEX | C9 | 98 | B1 |
Decimal | 201 | 152 | 177 |
Binary | 11001001 | 10011000 | 10110001 |
Octal | 311 | 230 | 261 |
Examples of css and html codes for elements with #C998B1 color. Also use rgb(201,152,177) instead hex code.
.myTextColor { color: #C998B1; }
<p style="color:#C998B1">This sample text font color is #C998B1.</p>
This text font color is #C998B1.
.myBgColor { background-color: #C998B1; }
<div style="background-color:#C998B1">Inner text</div>
This div background color is #C998B1.
.myBorderColor { border: 1px solid #C998B1; }
<div style="border:3px solid #C998B1">Div</div>
This div border color is #C998B1.
.myOpacity80 { color: #C998B1; opacity: 0.8; }
<p style="color:#C998B1;opacity:0.8;">80%</p>
Text with #C998B1 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C998B1;}
<p style="text-shadow: 3px 3px 1px #C998B1">Text here.</p>
This text has shadow with #C998B1 color.
.textShadow {text-shadow: 3px 3px 1px #C998B1, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C998B1, 5px 5px 20px red">Text here.</p>
This text has shadow with #C998B1 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C998B1, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C998B1, Direction=45, Strength=4)">Text</p>
This text has shadow with #C998B1 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C998B1; -webkit-box-shadow: 1px 1px 3px 2px #C998B1; box-shadow: 1px 1px 3px 2px #C998B1; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C998B1; -webkit-box-shadow: 1px 1px 3px 2px #C998B1; box-shadow:1px 1px 3px 2px #C998B1;">
Div content here</div>
This text has color #C998B1 on black background.
This text has color #C998B1 on white background.
This text has black color on #C998B1 background.
This text has white color on #C998B1 background.