HEX: #B36CD7
RGB: (179,108,215)
#B36CD7 contains mainly red and blue colors. Web safe color of #B36CD7 is #9966CC (or #96C).
#B36CD7 color RGB value is (179,108,215).
RGB: (179,108,215) (70%,42%,84%)
R 179 of 255 = 70%
G 108 of 255 = 42%
B 215 of 255 = 84%
R + G + B ~ 65%. #B36CD7 is quite light color.
R + G + B =
179 + 108 + 215 = 502 (100%)
R 179 of 502 ~ 35.66%
G 108 of 502 ~ 21.51%
B 215 of 502 ~ 42.83%
#B36CD7 color CMYK value is (17,50,0,16).
CMYK: (17,50,0,16) C17M50Y0K16 (17%,50%,0%,16%) (0.17/0.50/0.00/0.16)
B3 | 6C | D7 | |
---|---|---|---|
RGB | 179 | 108 | 215 |
HSL | 280° | 57.22% | 63.33% |
HSB/HSV | 280° | 49.77% | 84.31% |
CMYK | 16.74% | 49.77% | 0.00% |
15.69% |
HEX | B3 | 6C | D7 |
Decimal | 179 | 108 | 215 |
Binary | 10110011 | 1101100 | 11010111 |
Octal | 263 | 154 | 327 |
Examples of css and html codes for elements with #B36CD7 color. Also use rgb(179,108,215) instead hex code.
.myTextColor { color: #B36CD7; }
<p style="color:#B36CD7">This sample text font color is #B36CD7.</p>
This text font color is #B36CD7.
.myBgColor { background-color: #B36CD7; }
<div style="background-color:#B36CD7">Inner text</div>
This div background color is #B36CD7.
.myBorderColor { border: 1px solid #B36CD7; }
<div style="border:3px solid #B36CD7">Div</div>
This div border color is #B36CD7.
.myOpacity80 { color: #B36CD7; opacity: 0.8; }
<p style="color:#B36CD7;opacity:0.8;">80%</p>
Text with #B36CD7 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B36CD7;}
<p style="text-shadow: 3px 3px 1px #B36CD7">Text here.</p>
This text has shadow with #B36CD7 color.
.textShadow {text-shadow: 3px 3px 1px #B36CD7, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B36CD7, 5px 5px 20px red">Text here.</p>
This text has shadow with #B36CD7 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B36CD7, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B36CD7, Direction=45, Strength=4)">Text</p>
This text has shadow with #B36CD7 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B36CD7; -webkit-box-shadow: 1px 1px 3px 2px #B36CD7; box-shadow: 1px 1px 3px 2px #B36CD7; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B36CD7; -webkit-box-shadow: 1px 1px 3px 2px #B36CD7; box-shadow:1px 1px 3px 2px #B36CD7;">
Div content here</div>
This text has color #B36CD7 on black background.
This text has color #B36CD7 on white background.
This text has black color on #B36CD7 background.
This text has white color on #B36CD7 background.