HEX: #6B4976
RGB: (107,73,118)
#6B4976 contains red, green and blue colors in about the same proportion. Web safe color of #6B4976 is #663366 (or #636).
#6B4976 color RGB value is (107,73,118).
RGB: (107,73,118) (42%,29%,46%)
R 107 of 255 = 42%
G 73 of 255 = 29%
B 118 of 255 = 46%
R + G + B ~ 39%. #6B4976 is quite dark color.
R + G + B =
107 + 73 + 118 = 298 (100%)
R 107 of 298 ~ 35.91%
G 73 of 298 ~ 24.5%
B 118 of 298 ~ 39.6%
#6B4976 color CMYK value is (9,38,0,54).
CMYK: (9,38,0,54) C9M38Y0K54 (9%,38%,0%,54%) (0.09/0.38/0.00/0.54)
6B | 49 | 76 | |
---|---|---|---|
RGB | 107 | 73 | 118 |
HSL | 285° | 23.56% | 37.45% |
HSB/HSV | 285° | 38.14% | 46.27% |
CMYK | 9.32% | 38.14% | 0.00% |
53.73% |
HEX | 6B | 49 | 76 |
Decimal | 107 | 73 | 118 |
Binary | 1101011 | 1001001 | 1110110 |
Octal | 153 | 111 | 166 |
Examples of css and html codes for elements with #6B4976 color. Also use rgb(107,73,118) instead hex code.
.myTextColor { color: #6B4976; }
<p style="color:#6B4976">This sample text font color is #6B4976.</p>
This text font color is #6B4976.
.myBgColor { background-color: #6B4976; }
<div style="background-color:#6B4976">Inner text</div>
This div background color is #6B4976.
.myBorderColor { border: 1px solid #6B4976; }
<div style="border:3px solid #6B4976">Div</div>
This div border color is #6B4976.
.myOpacity80 { color: #6B4976; opacity: 0.8; }
<p style="color:#6B4976;opacity:0.8;">80%</p>
Text with #6B4976 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6B4976;}
<p style="text-shadow: 3px 3px 1px #6B4976">Text here.</p>
This text has shadow with #6B4976 color.
.textShadow {text-shadow: 3px 3px 1px #6B4976, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6B4976, 5px 5px 20px red">Text here.</p>
This text has shadow with #6B4976 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6B4976, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6B4976, Direction=45, Strength=4)">Text</p>
This text has shadow with #6B4976 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6B4976; -webkit-box-shadow: 1px 1px 3px 2px #6B4976; box-shadow: 1px 1px 3px 2px #6B4976; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6B4976; -webkit-box-shadow: 1px 1px 3px 2px #6B4976; box-shadow:1px 1px 3px 2px #6B4976;">
Div content here</div>
This text has color #6B4976 on black background.
This text has color #6B4976 on white background.
This text has black color on #6B4976 background.
This text has white color on #6B4976 background.