HEX: #6C5C90
RGB: (108,92,144)
#6C5C90 contains red, green and blue colors in about the same proportion. Web safe color of #6C5C90 is #666699 (or #669).
#6C5C90 color RGB value is (108,92,144).
RGB: (108,92,144) (42%,36%,56%)
R 108 of 255 = 42%
G 92 of 255 = 36%
B 144 of 255 = 56%
R + G + B ~ 45%. #6C5C90 is middle color (not dark and not light).
R + G + B =
108 + 92 + 144 = 344 (100%)
R 108 of 344 ~ 31.4%
G 92 of 344 ~ 26.74%
B 144 of 344 ~ 41.86%
#6C5C90 color CMYK value is (25,36,0,44).
CMYK: (25,36,0,44) C25M36Y0K44 (25%,36%,0%,44%) (0.25/0.36/0.00/0.44)
6C | 5C | 90 | |
---|---|---|---|
RGB | 108 | 92 | 144 |
HSL | 258° | 22.03% | 46.27% |
HSB/HSV | 258° | 36.11% | 56.47% |
CMYK | 25.00% | 36.11% | 0.00% |
43.53% |
HEX | 6C | 5C | 90 |
Decimal | 108 | 92 | 144 |
Binary | 1101100 | 1011100 | 10010000 |
Octal | 154 | 134 | 220 |
Examples of css and html codes for elements with #6C5C90 color. Also use rgb(108,92,144) instead hex code.
.myTextColor { color: #6C5C90; }
<p style="color:#6C5C90">This sample text font color is #6C5C90.</p>
This text font color is #6C5C90.
.myBgColor { background-color: #6C5C90; }
<div style="background-color:#6C5C90">Inner text</div>
This div background color is #6C5C90.
.myBorderColor { border: 1px solid #6C5C90; }
<div style="border:3px solid #6C5C90">Div</div>
This div border color is #6C5C90.
.myOpacity80 { color: #6C5C90; opacity: 0.8; }
<p style="color:#6C5C90;opacity:0.8;">80%</p>
Text with #6C5C90 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6C5C90;}
<p style="text-shadow: 3px 3px 1px #6C5C90">Text here.</p>
This text has shadow with #6C5C90 color.
.textShadow {text-shadow: 3px 3px 1px #6C5C90, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6C5C90, 5px 5px 20px red">Text here.</p>
This text has shadow with #6C5C90 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6C5C90, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6C5C90, Direction=45, Strength=4)">Text</p>
This text has shadow with #6C5C90 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6C5C90; -webkit-box-shadow: 1px 1px 3px 2px #6C5C90; box-shadow: 1px 1px 3px 2px #6C5C90; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6C5C90; -webkit-box-shadow: 1px 1px 3px 2px #6C5C90; box-shadow:1px 1px 3px 2px #6C5C90;">
Div content here</div>
This text has color #6C5C90 on black background.
This text has color #6C5C90 on white background.
This text has black color on #6C5C90 background.
This text has white color on #6C5C90 background.