HEX: #684271
RGB: (104,66,113)
#684271 contains red, green and blue colors in about the same proportion. Web safe color of #684271 is #663366 (or #636).
#684271 color RGB value is (104,66,113).
RGB: (104,66,113) (41%,26%,44%)
R 104 of 255 = 41%
G 66 of 255 = 26%
B 113 of 255 = 44%
R + G + B ~ 37%. #684271 is quite dark color.
R + G + B =
104 + 66 + 113 = 283 (100%)
R 104 of 283 ~ 36.75%
G 66 of 283 ~ 23.32%
B 113 of 283 ~ 39.93%
#684271 color CMYK value is (8,42,0,56).
CMYK: (8,42,0,56) C8M42Y0K56 (8%,42%,0%,56%) (0.08/0.42/0.00/0.56)
68 | 42 | 71 | |
---|---|---|---|
RGB | 104 | 66 | 113 |
HSL | 289° | 26.26% | 35.10% |
HSB/HSV | 289° | 41.59% | 44.31% |
CMYK | 7.96% | 41.59% | 0.00% |
55.69% |
HEX | 68 | 42 | 71 |
Decimal | 104 | 66 | 113 |
Binary | 1101000 | 1000010 | 1110001 |
Octal | 150 | 102 | 161 |
Examples of css and html codes for elements with #684271 color. Also use rgb(104,66,113) instead hex code.
.myTextColor { color: #684271; }
<p style="color:#684271">This sample text font color is #684271.</p>
This text font color is #684271.
.myBgColor { background-color: #684271; }
<div style="background-color:#684271">Inner text</div>
This div background color is #684271.
.myBorderColor { border: 1px solid #684271; }
<div style="border:3px solid #684271">Div</div>
This div border color is #684271.
.myOpacity80 { color: #684271; opacity: 0.8; }
<p style="color:#684271;opacity:0.8;">80%</p>
Text with #684271 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #684271;}
<p style="text-shadow: 3px 3px 1px #684271">Text here.</p>
This text has shadow with #684271 color.
.textShadow {text-shadow: 3px 3px 1px #684271, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #684271, 5px 5px 20px red">Text here.</p>
This text has shadow with #684271 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#684271, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#684271, Direction=45, Strength=4)">Text</p>
This text has shadow with #684271 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #684271; -webkit-box-shadow: 1px 1px 3px 2px #684271; box-shadow: 1px 1px 3px 2px #684271; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #684271; -webkit-box-shadow: 1px 1px 3px 2px #684271; box-shadow:1px 1px 3px 2px #684271;">
Div content here</div>
This text has color #684271 on black background.
This text has color #684271 on white background.
This text has black color on #684271 background.
This text has white color on #684271 background.