HEX: #6B3287
RGB: (107,50,135)
#6B3287 contains mainly red and blue colors. Web safe color of #6B3287 is #663399 (or #639).
#6B3287 color RGB value is (107,50,135).
RGB: (107,50,135) (42%,20%,53%)
R 107 of 255 = 42%
G 50 of 255 = 20%
B 135 of 255 = 53%
R + G + B ~ 38%. #6B3287 is quite dark color.
R + G + B =
107 + 50 + 135 = 292 (100%)
R 107 of 292 ~ 36.64%
G 50 of 292 ~ 17.12%
B 135 of 292 ~ 46.23%
#6B3287 color CMYK value is (21,63,0,47).
CMYK: (21,63,0,47) C21M63Y0K47 (21%,63%,0%,47%) (0.21/0.63/0.00/0.47)
6B | 32 | 87 | |
---|---|---|---|
RGB | 107 | 50 | 135 |
HSL | 280° | 45.95% | 36.27% |
HSB/HSV | 280° | 62.96% | 52.94% |
CMYK | 20.74% | 62.96% | 0.00% |
47.06% |
HEX | 6B | 32 | 87 |
Decimal | 107 | 50 | 135 |
Binary | 1101011 | 110010 | 10000111 |
Octal | 153 | 62 | 207 |
Examples of css and html codes for elements with #6B3287 color. Also use rgb(107,50,135) instead hex code.
.myTextColor { color: #6B3287; }
<p style="color:#6B3287">This sample text font color is #6B3287.</p>
This text font color is #6B3287.
.myBgColor { background-color: #6B3287; }
<div style="background-color:#6B3287">Inner text</div>
This div background color is #6B3287.
.myBorderColor { border: 1px solid #6B3287; }
<div style="border:3px solid #6B3287">Div</div>
This div border color is #6B3287.
.myOpacity80 { color: #6B3287; opacity: 0.8; }
<p style="color:#6B3287;opacity:0.8;">80%</p>
Text with #6B3287 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6B3287;}
<p style="text-shadow: 3px 3px 1px #6B3287">Text here.</p>
This text has shadow with #6B3287 color.
.textShadow {text-shadow: 3px 3px 1px #6B3287, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6B3287, 5px 5px 20px red">Text here.</p>
This text has shadow with #6B3287 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6B3287, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6B3287, Direction=45, Strength=4)">Text</p>
This text has shadow with #6B3287 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6B3287; -webkit-box-shadow: 1px 1px 3px 2px #6B3287; box-shadow: 1px 1px 3px 2px #6B3287; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6B3287; -webkit-box-shadow: 1px 1px 3px 2px #6B3287; box-shadow:1px 1px 3px 2px #6B3287;">
Div content here</div>
This text has color #6B3287 on black background.
This text has color #6B3287 on white background.
This text has black color on #6B3287 background.
This text has white color on #6B3287 background.