HEX: #768ADB
RGB: (118,138,219)
#768ADB contains mainly blue color. Web safe color of #768ADB is #6699CC (or #69C).
#768ADB color RGB value is (118,138,219).
RGB: (118,138,219) (46%,54%,86%)
R 118 of 255 = 46%
G 138 of 255 = 54%
B 219 of 255 = 86%
R + G + B ~ 62%. #768ADB is quite light color.
R + G + B =
118 + 138 + 219 = 475 (100%)
R 118 of 475 ~ 24.84%
G 138 of 475 ~ 29.05%
B 219 of 475 ~ 46.11%
#768ADB color CMYK value is (46,37,0,14).
CMYK: (46,37,0,14) C46M37Y0K14 (46%,37%,0%,14%) (0.46/0.37/0.00/0.14)
76 | 8A | DB | |
---|---|---|---|
RGB | 118 | 138 | 219 |
HSL | 228° | 58.38% | 66.08% |
HSB/HSV | 228° | 46.12% | 85.88% |
CMYK | 46.12% | 36.99% | 0.00% |
14.12% |
HEX | 76 | 8A | DB |
Decimal | 118 | 138 | 219 |
Binary | 1110110 | 10001010 | 11011011 |
Octal | 166 | 212 | 333 |
Examples of css and html codes for elements with #768ADB color. Also use rgb(118,138,219) instead hex code.
.myTextColor { color: #768ADB; }
<p style="color:#768ADB">This sample text font color is #768ADB.</p>
This text font color is #768ADB.
.myBgColor { background-color: #768ADB; }
<div style="background-color:#768ADB">Inner text</div>
This div background color is #768ADB.
.myBorderColor { border: 1px solid #768ADB; }
<div style="border:3px solid #768ADB">Div</div>
This div border color is #768ADB.
.myOpacity80 { color: #768ADB; opacity: 0.8; }
<p style="color:#768ADB;opacity:0.8;">80%</p>
Text with #768ADB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #768ADB;}
<p style="text-shadow: 3px 3px 1px #768ADB">Text here.</p>
This text has shadow with #768ADB color.
.textShadow {text-shadow: 3px 3px 1px #768ADB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #768ADB, 5px 5px 20px red">Text here.</p>
This text has shadow with #768ADB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#768ADB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#768ADB, Direction=45, Strength=4)">Text</p>
This text has shadow with #768ADB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #768ADB; -webkit-box-shadow: 1px 1px 3px 2px #768ADB; box-shadow: 1px 1px 3px 2px #768ADB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #768ADB; -webkit-box-shadow: 1px 1px 3px 2px #768ADB; box-shadow:1px 1px 3px 2px #768ADB;">
Div content here</div>
This text has color #768ADB on black background.
This text has color #768ADB on white background.
This text has black color on #768ADB background.
This text has white color on #768ADB background.