HEX: #B498BA
RGB: (180,152,186)
#B498BA contains red, green and blue colors in about the same proportion. Web safe color of #B498BA is #CC99CC (or #C9C).
#B498BA color RGB value is (180,152,186).
RGB: (180,152,186) (71%,60%,73%)
R 180 of 255 = 71%
G 152 of 255 = 60%
B 186 of 255 = 73%
R + G + B ~ 68%. #B498BA is quite light color.
R + G + B =
180 + 152 + 186 = 518 (100%)
R 180 of 518 ~ 34.75%
G 152 of 518 ~ 29.34%
B 186 of 518 ~ 35.91%
#B498BA color CMYK value is (3,18,0,27).
CMYK: (3,18,0,27) C3M18Y0K27 (3%,18%,0%,27%) (0.03/0.18/0.00/0.27)
B4 | 98 | BA | |
---|---|---|---|
RGB | 180 | 152 | 186 |
HSL | 289° | 19.77% | 66.27% |
HSB/HSV | 289° | 18.28% | 72.94% |
CMYK | 3.23% | 18.28% | 0.00% |
27.06% |
HEX | B4 | 98 | BA |
Decimal | 180 | 152 | 186 |
Binary | 10110100 | 10011000 | 10111010 |
Octal | 264 | 230 | 272 |
Examples of css and html codes for elements with #B498BA color. Also use rgb(180,152,186) instead hex code.
.myTextColor { color: #B498BA; }
<p style="color:#B498BA">This sample text font color is #B498BA.</p>
This text font color is #B498BA.
.myBgColor { background-color: #B498BA; }
<div style="background-color:#B498BA">Inner text</div>
This div background color is #B498BA.
.myBorderColor { border: 1px solid #B498BA; }
<div style="border:3px solid #B498BA">Div</div>
This div border color is #B498BA.
.myOpacity80 { color: #B498BA; opacity: 0.8; }
<p style="color:#B498BA;opacity:0.8;">80%</p>
Text with #B498BA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B498BA;}
<p style="text-shadow: 3px 3px 1px #B498BA">Text here.</p>
This text has shadow with #B498BA color.
.textShadow {text-shadow: 3px 3px 1px #B498BA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B498BA, 5px 5px 20px red">Text here.</p>
This text has shadow with #B498BA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B498BA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B498BA, Direction=45, Strength=4)">Text</p>
This text has shadow with #B498BA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B498BA; -webkit-box-shadow: 1px 1px 3px 2px #B498BA; box-shadow: 1px 1px 3px 2px #B498BA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B498BA; -webkit-box-shadow: 1px 1px 3px 2px #B498BA; box-shadow:1px 1px 3px 2px #B498BA;">
Div content here</div>
This text has color #B498BA on black background.
This text has color #B498BA on white background.
This text has black color on #B498BA background.
This text has white color on #B498BA background.