HEX: #6C4076
RGB: (108,64,118)
#6C4076 contains red, green and blue colors in about the same proportion. Web safe color of #6C4076 is #663366 (or #636).
#6C4076 color RGB value is (108,64,118).
RGB: (108,64,118) (42%,25%,46%)
R 108 of 255 = 42%
G 64 of 255 = 25%
B 118 of 255 = 46%
R + G + B ~ 38%. #6C4076 is quite dark color.
R + G + B =
108 + 64 + 118 = 290 (100%)
R 108 of 290 ~ 37.24%
G 64 of 290 ~ 22.07%
B 118 of 290 ~ 40.69%
#6C4076 color CMYK value is (8,46,0,54).
CMYK: (8,46,0,54) C8M46Y0K54 (8%,46%,0%,54%) (0.08/0.46/0.00/0.54)
6C | 40 | 76 | |
---|---|---|---|
RGB | 108 | 64 | 118 |
HSL | 289° | 29.67% | 35.69% |
HSB/HSV | 289° | 45.76% | 46.27% |
CMYK | 8.47% | 45.76% | 0.00% |
53.73% |
HEX | 6C | 40 | 76 |
Decimal | 108 | 64 | 118 |
Binary | 1101100 | 1000000 | 1110110 |
Octal | 154 | 100 | 166 |
Examples of css and html codes for elements with #6C4076 color. Also use rgb(108,64,118) instead hex code.
.myTextColor { color: #6C4076; }
<p style="color:#6C4076">This sample text font color is #6C4076.</p>
This text font color is #6C4076.
.myBgColor { background-color: #6C4076; }
<div style="background-color:#6C4076">Inner text</div>
This div background color is #6C4076.
.myBorderColor { border: 1px solid #6C4076; }
<div style="border:3px solid #6C4076">Div</div>
This div border color is #6C4076.
.myOpacity80 { color: #6C4076; opacity: 0.8; }
<p style="color:#6C4076;opacity:0.8;">80%</p>
Text with #6C4076 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6C4076;}
<p style="text-shadow: 3px 3px 1px #6C4076">Text here.</p>
This text has shadow with #6C4076 color.
.textShadow {text-shadow: 3px 3px 1px #6C4076, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6C4076, 5px 5px 20px red">Text here.</p>
This text has shadow with #6C4076 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6C4076, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6C4076, Direction=45, Strength=4)">Text</p>
This text has shadow with #6C4076 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6C4076; -webkit-box-shadow: 1px 1px 3px 2px #6C4076; box-shadow: 1px 1px 3px 2px #6C4076; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6C4076; -webkit-box-shadow: 1px 1px 3px 2px #6C4076; box-shadow:1px 1px 3px 2px #6C4076;">
Div content here</div>
This text has color #6C4076 on black background.
This text has color #6C4076 on white background.
This text has black color on #6C4076 background.
This text has white color on #6C4076 background.