HEX: #6B4766
RGB: (107,71,102)
#6B4766 contains red, green and blue colors in about the same proportion. Web safe color of #6B4766 is #663366 (or #636).
#6B4766 color RGB value is (107,71,102).
RGB: (107,71,102) (42%,28%,40%)
R 107 of 255 = 42%
G 71 of 255 = 28%
B 102 of 255 = 40%
R + G + B ~ 37%. #6B4766 is quite dark color.
R + G + B =
107 + 71 + 102 = 280 (100%)
R 107 of 280 ~ 38.21%
G 71 of 280 ~ 25.36%
B 102 of 280 ~ 36.43%
#6B4766 color CMYK value is (0,34,5,58).
CMYK: (0,34,5,58) C0M34Y5K58 (0%,34%,5%,58%) (0.00/0.34/0.05/0.58)
6B | 47 | 66 | |
---|---|---|---|
RGB | 107 | 71 | 102 |
HSL | 308° | 20.22% | 34.90% |
HSB/HSV | 308° | 33.64% | 41.96% |
CMYK | 0.00% | 33.64% | 4.67% |
58.04% |
HEX | 6B | 47 | 66 |
Decimal | 107 | 71 | 102 |
Binary | 1101011 | 1000111 | 1100110 |
Octal | 153 | 107 | 146 |
Examples of css and html codes for elements with #6B4766 color. Also use rgb(107,71,102) instead hex code.
.myTextColor { color: #6B4766; }
<p style="color:#6B4766">This sample text font color is #6B4766.</p>
This text font color is #6B4766.
.myBgColor { background-color: #6B4766; }
<div style="background-color:#6B4766">Inner text</div>
This div background color is #6B4766.
.myBorderColor { border: 1px solid #6B4766; }
<div style="border:3px solid #6B4766">Div</div>
This div border color is #6B4766.
.myOpacity80 { color: #6B4766; opacity: 0.8; }
<p style="color:#6B4766;opacity:0.8;">80%</p>
Text with #6B4766 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6B4766;}
<p style="text-shadow: 3px 3px 1px #6B4766">Text here.</p>
This text has shadow with #6B4766 color.
.textShadow {text-shadow: 3px 3px 1px #6B4766, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6B4766, 5px 5px 20px red">Text here.</p>
This text has shadow with #6B4766 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6B4766, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6B4766, Direction=45, Strength=4)">Text</p>
This text has shadow with #6B4766 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6B4766; -webkit-box-shadow: 1px 1px 3px 2px #6B4766; box-shadow: 1px 1px 3px 2px #6B4766; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6B4766; -webkit-box-shadow: 1px 1px 3px 2px #6B4766; box-shadow:1px 1px 3px 2px #6B4766;">
Div content here</div>
This text has color #6B4766 on black background.
This text has color #6B4766 on white background.
This text has black color on #6B4766 background.
This text has white color on #6B4766 background.