HEX: #B497CD
RGB: (180,151,205)
#B497CD contains red, green and blue colors in about the same proportion. Web safe color of #B497CD is #CC99CC (or #C9C).
#B497CD color RGB value is (180,151,205).
RGB: (180,151,205) (71%,59%,80%)
R 180 of 255 = 71%
G 151 of 255 = 59%
B 205 of 255 = 80%
R + G + B ~ 70%. #B497CD is quite light color.
R + G + B =
180 + 151 + 205 = 536 (100%)
R 180 of 536 ~ 33.58%
G 151 of 536 ~ 28.17%
B 205 of 536 ~ 38.25%
#B497CD color CMYK value is (12,26,0,20).
CMYK: (12,26,0,20) C12M26Y0K20 (12%,26%,0%,20%) (0.12/0.26/0.00/0.20)
B4 | 97 | CD | |
---|---|---|---|
RGB | 180 | 151 | 205 |
HSL | 272° | 35.06% | 69.80% |
HSB/HSV | 272° | 26.34% | 80.39% |
CMYK | 12.20% | 26.34% | 0.00% |
19.61% |
HEX | B4 | 97 | CD |
Decimal | 180 | 151 | 205 |
Binary | 10110100 | 10010111 | 11001101 |
Octal | 264 | 227 | 315 |
Examples of css and html codes for elements with #B497CD color. Also use rgb(180,151,205) instead hex code.
.myTextColor { color: #B497CD; }
<p style="color:#B497CD">This sample text font color is #B497CD.</p>
This text font color is #B497CD.
.myBgColor { background-color: #B497CD; }
<div style="background-color:#B497CD">Inner text</div>
This div background color is #B497CD.
.myBorderColor { border: 1px solid #B497CD; }
<div style="border:3px solid #B497CD">Div</div>
This div border color is #B497CD.
.myOpacity80 { color: #B497CD; opacity: 0.8; }
<p style="color:#B497CD;opacity:0.8;">80%</p>
Text with #B497CD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B497CD;}
<p style="text-shadow: 3px 3px 1px #B497CD">Text here.</p>
This text has shadow with #B497CD color.
.textShadow {text-shadow: 3px 3px 1px #B497CD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B497CD, 5px 5px 20px red">Text here.</p>
This text has shadow with #B497CD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B497CD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B497CD, Direction=45, Strength=4)">Text</p>
This text has shadow with #B497CD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B497CD; -webkit-box-shadow: 1px 1px 3px 2px #B497CD; box-shadow: 1px 1px 3px 2px #B497CD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B497CD; -webkit-box-shadow: 1px 1px 3px 2px #B497CD; box-shadow:1px 1px 3px 2px #B497CD;">
Div content here</div>
This text has color #B497CD on black background.
This text has color #B497CD on white background.
This text has black color on #B497CD background.
This text has white color on #B497CD background.