HEX: #6B2E48
RGB: (107,46,72)
#6B2E48 contains mainly red and blue colors. Web safe color of #6B2E48 is #663333 (or #633).
#6B2E48 color RGB value is (107,46,72).
RGB: (107,46,72) (42%,18%,28%)
R 107 of 255 = 42%
G 46 of 255 = 18%
B 72 of 255 = 28%
R + G + B ~ 29%. #6B2E48 is quite dark color.
R + G + B =
107 + 46 + 72 = 225 (100%)
R 107 of 225 ~ 47.56%
G 46 of 225 ~ 20.44%
B 72 of 225 ~ 32%
#6B2E48 color CMYK value is (0,57,33,58).
CMYK: (0,57,33,58) C0M57Y33K58 (0%,57%,33%,58%) (0.00/0.57/0.33/0.58)
6B | 2E | 48 | |
---|---|---|---|
RGB | 107 | 46 | 72 |
HSL | 334° | 39.87% | 30.00% |
HSB/HSV | 334° | 57.01% | 41.96% |
CMYK | 0.00% | 57.01% | 32.71% |
58.04% |
HEX | 6B | 2E | 48 |
Decimal | 107 | 46 | 72 |
Binary | 1101011 | 101110 | 1001000 |
Octal | 153 | 56 | 110 |
Examples of css and html codes for elements with #6B2E48 color. Also use rgb(107,46,72) instead hex code.
.myTextColor { color: #6B2E48; }
<p style="color:#6B2E48">This sample text font color is #6B2E48.</p>
This text font color is #6B2E48.
.myBgColor { background-color: #6B2E48; }
<div style="background-color:#6B2E48">Inner text</div>
This div background color is #6B2E48.
.myBorderColor { border: 1px solid #6B2E48; }
<div style="border:3px solid #6B2E48">Div</div>
This div border color is #6B2E48.
.myOpacity80 { color: #6B2E48; opacity: 0.8; }
<p style="color:#6B2E48;opacity:0.8;">80%</p>
Text with #6B2E48 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6B2E48;}
<p style="text-shadow: 3px 3px 1px #6B2E48">Text here.</p>
This text has shadow with #6B2E48 color.
.textShadow {text-shadow: 3px 3px 1px #6B2E48, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6B2E48, 5px 5px 20px red">Text here.</p>
This text has shadow with #6B2E48 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6B2E48, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6B2E48, Direction=45, Strength=4)">Text</p>
This text has shadow with #6B2E48 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6B2E48; -webkit-box-shadow: 1px 1px 3px 2px #6B2E48; box-shadow: 1px 1px 3px 2px #6B2E48; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6B2E48; -webkit-box-shadow: 1px 1px 3px 2px #6B2E48; box-shadow:1px 1px 3px 2px #6B2E48;">
Div content here</div>
This text has color #6B2E48 on black background.
This text has color #6B2E48 on white background.
This text has black color on #6B2E48 background.
This text has white color on #6B2E48 background.