HEX: #3366CC
RGB: (51,102,204)
#3366CC contains mainly blue color. #3366CC color is web safe color. It maybe written shortly as #36C.
#3366CC color RGB value is (51,102,204).
RGB: (51,102,204) (20%,40%,80%)
R 51 of 255 = 20%
G 102 of 255 = 40%
B 204 of 255 = 80%
R + G + B ~ 47%. #3366CC is middle color (not dark and not light).
R + G + B =
51 + 102 + 204 = 357 (100%)
R 51 of 357 ~ 14.29%
G 102 of 357 ~ 28.57%
B 204 of 357 ~ 57.14%
#3366CC color CMYK value is (75,50,0,20).
CMYK: (75,50,0,20) C75M50Y0K20 (75%,50%,0%,20%) (0.75/0.50/0.00/0.20)
33 | 66 | CC | |
---|---|---|---|
RGB | 51 | 102 | 204 |
HSL | 220° | 60.00% | 50.00% |
HSB/HSV | 220° | 75.00% | 80.00% |
CMYK | 75.00% | 50.00% | 0.00% |
20.00% |
HEX | 33 | 66 | CC |
Decimal | 51 | 102 | 204 |
Binary | 110011 | 1100110 | 11001100 |
Octal | 63 | 146 | 314 |
Examples of css and html codes for elements with #3366CC color. Also use rgb(51,102,204) instead hex code.
.myTextColor { color: #3366CC; }
<p style="color:#3366CC">This sample text font color is #3366CC.</p>
This text font color is #3366CC.
.myBgColor { background-color: #3366CC; }
<div style="background-color:#3366CC">Inner text</div>
This div background color is #3366CC.
.myBorderColor { border: 1px solid #3366CC; }
<div style="border:3px solid #3366CC">Div</div>
This div border color is #3366CC.
.myOpacity80 { color: #3366CC; opacity: 0.8; }
<p style="color:#3366CC;opacity:0.8;">80%</p>
Text with #3366CC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #3366CC;}
<p style="text-shadow: 3px 3px 1px #3366CC">Text here.</p>
This text has shadow with #3366CC color.
.textShadow {text-shadow: 3px 3px 1px #3366CC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #3366CC, 5px 5px 20px red">Text here.</p>
This text has shadow with #3366CC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#3366CC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#3366CC, Direction=45, Strength=4)">Text</p>
This text has shadow with #3366CC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #3366CC; -webkit-box-shadow: 1px 1px 3px 2px #3366CC; box-shadow: 1px 1px 3px 2px #3366CC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #3366CC; -webkit-box-shadow: 1px 1px 3px 2px #3366CC; box-shadow:1px 1px 3px 2px #3366CC;">
Div content here</div>
This text has color #3366CC on black background.
This text has color #3366CC on white background.
This text has black color on #3366CC background.
This text has white color on #3366CC background.