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