HEX: #6C6276
RGB: (108,98,118)
#6C6276 contains red, green and blue colors in about the same proportion. Web safe color of #6C6276 is #666666 (or #666).
#6C6276 color RGB value is (108,98,118).
RGB: (108,98,118) (42%,38%,46%)
R 108 of 255 = 42%
G 98 of 255 = 38%
B 118 of 255 = 46%
R + G + B ~ 42%. #6C6276 is middle color (not dark and not light).
R + G + B =
108 + 98 + 118 = 324 (100%)
R 108 of 324 ~ 33.33%
G 98 of 324 ~ 30.25%
B 118 of 324 ~ 36.42%
#6C6276 color CMYK value is (8,17,0,54).
CMYK: (8,17,0,54) C8M17Y0K54 (8%,17%,0%,54%) (0.08/0.17/0.00/0.54)
6C | 62 | 76 | |
---|---|---|---|
RGB | 108 | 98 | 118 |
HSL | 270° | 9.26% | 42.35% |
HSB/HSV | 270° | 16.95% | 46.27% |
CMYK | 8.47% | 16.95% | 0.00% |
53.73% |
HEX | 6C | 62 | 76 |
Decimal | 108 | 98 | 118 |
Binary | 1101100 | 1100010 | 1110110 |
Octal | 154 | 142 | 166 |
Examples of css and html codes for elements with #6C6276 color. Also use rgb(108,98,118) instead hex code.
.myTextColor { color: #6C6276; }
<p style="color:#6C6276">This sample text font color is #6C6276.</p>
This text font color is #6C6276.
.myBgColor { background-color: #6C6276; }
<div style="background-color:#6C6276">Inner text</div>
This div background color is #6C6276.
.myBorderColor { border: 1px solid #6C6276; }
<div style="border:3px solid #6C6276">Div</div>
This div border color is #6C6276.
.myOpacity80 { color: #6C6276; opacity: 0.8; }
<p style="color:#6C6276;opacity:0.8;">80%</p>
Text with #6C6276 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6C6276;}
<p style="text-shadow: 3px 3px 1px #6C6276">Text here.</p>
This text has shadow with #6C6276 color.
.textShadow {text-shadow: 3px 3px 1px #6C6276, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6C6276, 5px 5px 20px red">Text here.</p>
This text has shadow with #6C6276 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6C6276, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6C6276, Direction=45, Strength=4)">Text</p>
This text has shadow with #6C6276 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6C6276; -webkit-box-shadow: 1px 1px 3px 2px #6C6276; box-shadow: 1px 1px 3px 2px #6C6276; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6C6276; -webkit-box-shadow: 1px 1px 3px 2px #6C6276; box-shadow:1px 1px 3px 2px #6C6276;">
Div content here</div>
This text has color #6C6276 on black background.
This text has color #6C6276 on white background.
This text has black color on #6C6276 background.
This text has white color on #6C6276 background.