HEX: #684270
RGB: (104,66,112)
#684270 contains red, green and blue colors in about the same proportion. Web safe color of #684270 is #663366 (or #636).
#684270 color RGB value is (104,66,112).
RGB: (104,66,112) (41%,26%,44%)
R 104 of 255 = 41%
G 66 of 255 = 26%
B 112 of 255 = 44%
R + G + B ~ 37%. #684270 is quite dark color.
R + G + B =
104 + 66 + 112 = 282 (100%)
R 104 of 282 ~ 36.88%
G 66 of 282 ~ 23.4%
B 112 of 282 ~ 39.72%
#684270 color CMYK value is (7,41,0,56).
CMYK: (7,41,0,56) C7M41Y0K56 (7%,41%,0%,56%) (0.07/0.41/0.00/0.56)
68 | 42 | 70 | |
---|---|---|---|
RGB | 104 | 66 | 112 |
HSL | 290° | 25.84% | 34.90% |
HSB/HSV | 290° | 41.07% | 43.92% |
CMYK | 7.14% | 41.07% | 0.00% |
56.08% |
HEX | 68 | 42 | 70 |
Decimal | 104 | 66 | 112 |
Binary | 1101000 | 1000010 | 1110000 |
Octal | 150 | 102 | 160 |
Examples of css and html codes for elements with #684270 color. Also use rgb(104,66,112) instead hex code.
.myTextColor { color: #684270; }
<p style="color:#684270">This sample text font color is #684270.</p>
This text font color is #684270.
.myBgColor { background-color: #684270; }
<div style="background-color:#684270">Inner text</div>
This div background color is #684270.
.myBorderColor { border: 1px solid #684270; }
<div style="border:3px solid #684270">Div</div>
This div border color is #684270.
.myOpacity80 { color: #684270; opacity: 0.8; }
<p style="color:#684270;opacity:0.8;">80%</p>
Text with #684270 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #684270;}
<p style="text-shadow: 3px 3px 1px #684270">Text here.</p>
This text has shadow with #684270 color.
.textShadow {text-shadow: 3px 3px 1px #684270, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #684270, 5px 5px 20px red">Text here.</p>
This text has shadow with #684270 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#684270, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#684270, Direction=45, Strength=4)">Text</p>
This text has shadow with #684270 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #684270; -webkit-box-shadow: 1px 1px 3px 2px #684270; box-shadow: 1px 1px 3px 2px #684270; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #684270; -webkit-box-shadow: 1px 1px 3px 2px #684270; box-shadow:1px 1px 3px 2px #684270;">
Div content here</div>
This text has color #684270 on black background.
This text has color #684270 on white background.
This text has black color on #684270 background.
This text has white color on #684270 background.