HEX: #6C327E
RGB: (108,50,126)
#6C327E contains mainly red and blue colors. Web safe color of #6C327E is #663366 (or #636).
#6C327E color RGB value is (108,50,126).
RGB: (108,50,126) (42%,20%,49%)
R 108 of 255 = 42%
G 50 of 255 = 20%
B 126 of 255 = 49%
R + G + B ~ 37%. #6C327E is quite dark color.
R + G + B =
108 + 50 + 126 = 284 (100%)
R 108 of 284 ~ 38.03%
G 50 of 284 ~ 17.61%
B 126 of 284 ~ 44.37%
#6C327E color CMYK value is (14,60,0,51).
CMYK: (14,60,0,51) C14M60Y0K51 (14%,60%,0%,51%) (0.14/0.60/0.00/0.51)
6C | 32 | 7E | |
---|---|---|---|
RGB | 108 | 50 | 126 |
HSL | 286° | 43.18% | 34.51% |
HSB/HSV | 286° | 60.32% | 49.41% |
CMYK | 14.29% | 60.32% | 0.00% |
50.59% |
HEX | 6C | 32 | 7E |
Decimal | 108 | 50 | 126 |
Binary | 1101100 | 110010 | 1111110 |
Octal | 154 | 62 | 176 |
Examples of css and html codes for elements with #6C327E color. Also use rgb(108,50,126) instead hex code.
.myTextColor { color: #6C327E; }
<p style="color:#6C327E">This sample text font color is #6C327E.</p>
This text font color is #6C327E.
.myBgColor { background-color: #6C327E; }
<div style="background-color:#6C327E">Inner text</div>
This div background color is #6C327E.
.myBorderColor { border: 1px solid #6C327E; }
<div style="border:3px solid #6C327E">Div</div>
This div border color is #6C327E.
.myOpacity80 { color: #6C327E; opacity: 0.8; }
<p style="color:#6C327E;opacity:0.8;">80%</p>
Text with #6C327E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6C327E;}
<p style="text-shadow: 3px 3px 1px #6C327E">Text here.</p>
This text has shadow with #6C327E color.
.textShadow {text-shadow: 3px 3px 1px #6C327E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6C327E, 5px 5px 20px red">Text here.</p>
This text has shadow with #6C327E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6C327E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6C327E, Direction=45, Strength=4)">Text</p>
This text has shadow with #6C327E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6C327E; -webkit-box-shadow: 1px 1px 3px 2px #6C327E; box-shadow: 1px 1px 3px 2px #6C327E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6C327E; -webkit-box-shadow: 1px 1px 3px 2px #6C327E; box-shadow:1px 1px 3px 2px #6C327E;">
Div content here</div>
This text has color #6C327E on black background.
This text has color #6C327E on white background.
This text has black color on #6C327E background.
This text has white color on #6C327E background.