HEX: #6C4972
RGB: (108,73,114)
#6C4972 contains red, green and blue colors in about the same proportion. Web safe color of #6C4972 is #663366 (or #636).
#6C4972 color RGB value is (108,73,114).
RGB: (108,73,114) (42%,29%,45%)
R 108 of 255 = 42%
G 73 of 255 = 29%
B 114 of 255 = 45%
R + G + B ~ 39%. #6C4972 is quite dark color.
R + G + B =
108 + 73 + 114 = 295 (100%)
R 108 of 295 ~ 36.61%
G 73 of 295 ~ 24.75%
B 114 of 295 ~ 38.64%
#6C4972 color CMYK value is (5,36,0,55).
CMYK: (5,36,0,55) C5M36Y0K55 (5%,36%,0%,55%) (0.05/0.36/0.00/0.55)
6C | 49 | 72 | |
---|---|---|---|
RGB | 108 | 73 | 114 |
HSL | 291° | 21.93% | 36.67% |
HSB/HSV | 291° | 35.96% | 44.71% |
CMYK | 5.26% | 35.96% | 0.00% |
55.29% |
HEX | 6C | 49 | 72 |
Decimal | 108 | 73 | 114 |
Binary | 1101100 | 1001001 | 1110010 |
Octal | 154 | 111 | 162 |
Examples of css and html codes for elements with #6C4972 color. Also use rgb(108,73,114) instead hex code.
.myTextColor { color: #6C4972; }
<p style="color:#6C4972">This sample text font color is #6C4972.</p>
This text font color is #6C4972.
.myBgColor { background-color: #6C4972; }
<div style="background-color:#6C4972">Inner text</div>
This div background color is #6C4972.
.myBorderColor { border: 1px solid #6C4972; }
<div style="border:3px solid #6C4972">Div</div>
This div border color is #6C4972.
.myOpacity80 { color: #6C4972; opacity: 0.8; }
<p style="color:#6C4972;opacity:0.8;">80%</p>
Text with #6C4972 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6C4972;}
<p style="text-shadow: 3px 3px 1px #6C4972">Text here.</p>
This text has shadow with #6C4972 color.
.textShadow {text-shadow: 3px 3px 1px #6C4972, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6C4972, 5px 5px 20px red">Text here.</p>
This text has shadow with #6C4972 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6C4972, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6C4972, Direction=45, Strength=4)">Text</p>
This text has shadow with #6C4972 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6C4972; -webkit-box-shadow: 1px 1px 3px 2px #6C4972; box-shadow: 1px 1px 3px 2px #6C4972; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6C4972; -webkit-box-shadow: 1px 1px 3px 2px #6C4972; box-shadow:1px 1px 3px 2px #6C4972;">
Div content here</div>
This text has color #6C4972 on black background.
This text has color #6C4972 on white background.
This text has black color on #6C4972 background.
This text has white color on #6C4972 background.