HEX: #6B4857
RGB: (107,72,87)
#6B4857 contains red, green and blue colors in about the same proportion. Web safe color of #6B4857 is #663366 (or #636).
#6B4857 color RGB value is (107,72,87).
RGB: (107,72,87) (42%,28%,34%)
R 107 of 255 = 42%
G 72 of 255 = 28%
B 87 of 255 = 34%
R + G + B ~ 35%. #6B4857 is quite dark color.
R + G + B =
107 + 72 + 87 = 266 (100%)
R 107 of 266 ~ 40.23%
G 72 of 266 ~ 27.07%
B 87 of 266 ~ 32.71%
#6B4857 color CMYK value is (0,33,19,58).
CMYK: (0,33,19,58) C0M33Y19K58 (0%,33%,19%,58%) (0.00/0.33/0.19/0.58)
6B | 48 | 57 | |
---|---|---|---|
RGB | 107 | 72 | 87 |
HSL | 334° | 19.55% | 35.10% |
HSB/HSV | 334° | 32.71% | 41.96% |
CMYK | 0.00% | 32.71% | 18.69% |
58.04% |
HEX | 6B | 48 | 57 |
Decimal | 107 | 72 | 87 |
Binary | 1101011 | 1001000 | 1010111 |
Octal | 153 | 110 | 127 |
Examples of css and html codes for elements with #6B4857 color. Also use rgb(107,72,87) instead hex code.
.myTextColor { color: #6B4857; }
<p style="color:#6B4857">This sample text font color is #6B4857.</p>
This text font color is #6B4857.
.myBgColor { background-color: #6B4857; }
<div style="background-color:#6B4857">Inner text</div>
This div background color is #6B4857.
.myBorderColor { border: 1px solid #6B4857; }
<div style="border:3px solid #6B4857">Div</div>
This div border color is #6B4857.
.myOpacity80 { color: #6B4857; opacity: 0.8; }
<p style="color:#6B4857;opacity:0.8;">80%</p>
Text with #6B4857 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6B4857;}
<p style="text-shadow: 3px 3px 1px #6B4857">Text here.</p>
This text has shadow with #6B4857 color.
.textShadow {text-shadow: 3px 3px 1px #6B4857, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6B4857, 5px 5px 20px red">Text here.</p>
This text has shadow with #6B4857 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6B4857, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6B4857, Direction=45, Strength=4)">Text</p>
This text has shadow with #6B4857 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6B4857; -webkit-box-shadow: 1px 1px 3px 2px #6B4857; box-shadow: 1px 1px 3px 2px #6B4857; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6B4857; -webkit-box-shadow: 1px 1px 3px 2px #6B4857; box-shadow:1px 1px 3px 2px #6B4857;">
Div content here</div>
This text has color #6B4857 on black background.
This text has color #6B4857 on white background.
This text has black color on #6B4857 background.
This text has white color on #6B4857 background.