HEX: #796688
RGB: (121,102,136)
#796688 contains red, green and blue colors in about the same proportion. Web safe color of #796688 is #666699 (or #669).
#796688 color RGB value is (121,102,136).
RGB: (121,102,136) (47%,40%,53%)
R 121 of 255 = 47%
G 102 of 255 = 40%
B 136 of 255 = 53%
R + G + B ~ 47%. #796688 is middle color (not dark and not light).
R + G + B =
121 + 102 + 136 = 359 (100%)
R 121 of 359 ~ 33.7%
G 102 of 359 ~ 28.41%
B 136 of 359 ~ 37.88%
#796688 color CMYK value is (11,25,0,47).
CMYK: (11,25,0,47) C11M25Y0K47 (11%,25%,0%,47%) (0.11/0.25/0.00/0.47)
79 | 66 | 88 | |
---|---|---|---|
RGB | 121 | 102 | 136 |
HSL | 274° | 14.29% | 46.67% |
HSB/HSV | 274° | 25.00% | 53.33% |
CMYK | 11.03% | 25.00% | 0.00% |
46.67% |
HEX | 79 | 66 | 88 |
Decimal | 121 | 102 | 136 |
Binary | 1111001 | 1100110 | 10001000 |
Octal | 171 | 146 | 210 |
Examples of css and html codes for elements with #796688 color. Also use rgb(121,102,136) instead hex code.
.myTextColor { color: #796688; }
<p style="color:#796688">This sample text font color is #796688.</p>
This text font color is #796688.
.myBgColor { background-color: #796688; }
<div style="background-color:#796688">Inner text</div>
This div background color is #796688.
.myBorderColor { border: 1px solid #796688; }
<div style="border:3px solid #796688">Div</div>
This div border color is #796688.
.myOpacity80 { color: #796688; opacity: 0.8; }
<p style="color:#796688;opacity:0.8;">80%</p>
Text with #796688 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #796688;}
<p style="text-shadow: 3px 3px 1px #796688">Text here.</p>
This text has shadow with #796688 color.
.textShadow {text-shadow: 3px 3px 1px #796688, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #796688, 5px 5px 20px red">Text here.</p>
This text has shadow with #796688 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#796688, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#796688, Direction=45, Strength=4)">Text</p>
This text has shadow with #796688 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #796688; -webkit-box-shadow: 1px 1px 3px 2px #796688; box-shadow: 1px 1px 3px 2px #796688; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #796688; -webkit-box-shadow: 1px 1px 3px 2px #796688; box-shadow:1px 1px 3px 2px #796688;">
Div content here</div>
This text has color #796688 on black background.
This text has color #796688 on white background.
This text has black color on #796688 background.
This text has white color on #796688 background.