HEX: #B495F2
RGB: (180,149,242)
#B495F2 contains mainly blue color. Web safe color of #B495F2 is #CC99FF (or #C9F).
#B495F2 color RGB value is (180,149,242).
RGB: (180,149,242) (71%,58%,95%)
R 180 of 255 = 71%
G 149 of 255 = 58%
B 242 of 255 = 95%
R + G + B ~ 75%. #B495F2 is quite light color.
R + G + B =
180 + 149 + 242 = 571 (100%)
R 180 of 571 ~ 31.52%
G 149 of 571 ~ 26.09%
B 242 of 571 ~ 42.38%
#B495F2 color CMYK value is (26,38,0,5).
CMYK: (26,38,0,5) C26M38Y0K5 (26%,38%,0%,5%) (0.26/0.38/0.00/0.05)
B4 | 95 | F2 | |
---|---|---|---|
RGB | 180 | 149 | 242 |
HSL | 260° | 78.15% | 76.67% |
HSB/HSV | 260° | 38.43% | 94.90% |
CMYK | 25.62% | 38.43% | 0.00% |
5.10% |
HEX | B4 | 95 | F2 |
Decimal | 180 | 149 | 242 |
Binary | 10110100 | 10010101 | 11110010 |
Octal | 264 | 225 | 362 |
Examples of css and html codes for elements with #B495F2 color. Also use rgb(180,149,242) instead hex code.
.myTextColor { color: #B495F2; }
<p style="color:#B495F2">This sample text font color is #B495F2.</p>
This text font color is #B495F2.
.myBgColor { background-color: #B495F2; }
<div style="background-color:#B495F2">Inner text</div>
This div background color is #B495F2.
.myBorderColor { border: 1px solid #B495F2; }
<div style="border:3px solid #B495F2">Div</div>
This div border color is #B495F2.
.myOpacity80 { color: #B495F2; opacity: 0.8; }
<p style="color:#B495F2;opacity:0.8;">80%</p>
Text with #B495F2 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B495F2;}
<p style="text-shadow: 3px 3px 1px #B495F2">Text here.</p>
This text has shadow with #B495F2 color.
.textShadow {text-shadow: 3px 3px 1px #B495F2, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B495F2, 5px 5px 20px red">Text here.</p>
This text has shadow with #B495F2 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B495F2, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B495F2, Direction=45, Strength=4)">Text</p>
This text has shadow with #B495F2 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B495F2; -webkit-box-shadow: 1px 1px 3px 2px #B495F2; box-shadow: 1px 1px 3px 2px #B495F2; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B495F2; -webkit-box-shadow: 1px 1px 3px 2px #B495F2; box-shadow:1px 1px 3px 2px #B495F2;">
Div content here</div>
This text has color #B495F2 on black background.
This text has color #B495F2 on white background.
This text has black color on #B495F2 background.
This text has white color on #B495F2 background.