HEX: #B198CD
RGB: (177,152,205)
#B198CD contains red, green and blue colors in about the same proportion. Web safe color of #B198CD is #9999CC (or #99C).
#B198CD color RGB value is (177,152,205).
RGB: (177,152,205) (69%,60%,80%)
R 177 of 255 = 69%
G 152 of 255 = 60%
B 205 of 255 = 80%
R + G + B ~ 70%. #B198CD is quite light color.
R + G + B =
177 + 152 + 205 = 534 (100%)
R 177 of 534 ~ 33.15%
G 152 of 534 ~ 28.46%
B 205 of 534 ~ 38.39%
#B198CD color CMYK value is (14,26,0,20).
CMYK: (14,26,0,20) C14M26Y0K20 (14%,26%,0%,20%) (0.14/0.26/0.00/0.20)
B1 | 98 | CD | |
---|---|---|---|
RGB | 177 | 152 | 205 |
HSL | 268° | 34.64% | 70.00% |
HSB/HSV | 268° | 25.85% | 80.39% |
CMYK | 13.66% | 25.85% | 0.00% |
19.61% |
HEX | B1 | 98 | CD |
Decimal | 177 | 152 | 205 |
Binary | 10110001 | 10011000 | 11001101 |
Octal | 261 | 230 | 315 |
Examples of css and html codes for elements with #B198CD color. Also use rgb(177,152,205) instead hex code.
.myTextColor { color: #B198CD; }
<p style="color:#B198CD">This sample text font color is #B198CD.</p>
This text font color is #B198CD.
.myBgColor { background-color: #B198CD; }
<div style="background-color:#B198CD">Inner text</div>
This div background color is #B198CD.
.myBorderColor { border: 1px solid #B198CD; }
<div style="border:3px solid #B198CD">Div</div>
This div border color is #B198CD.
.myOpacity80 { color: #B198CD; opacity: 0.8; }
<p style="color:#B198CD;opacity:0.8;">80%</p>
Text with #B198CD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B198CD;}
<p style="text-shadow: 3px 3px 1px #B198CD">Text here.</p>
This text has shadow with #B198CD color.
.textShadow {text-shadow: 3px 3px 1px #B198CD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B198CD, 5px 5px 20px red">Text here.</p>
This text has shadow with #B198CD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B198CD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B198CD, Direction=45, Strength=4)">Text</p>
This text has shadow with #B198CD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B198CD; -webkit-box-shadow: 1px 1px 3px 2px #B198CD; box-shadow: 1px 1px 3px 2px #B198CD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B198CD; -webkit-box-shadow: 1px 1px 3px 2px #B198CD; box-shadow:1px 1px 3px 2px #B198CD;">
Div content here</div>
This text has color #B198CD on black background.
This text has color #B198CD on white background.
This text has black color on #B198CD background.
This text has white color on #B198CD background.