HEX: #333366
RGB: (51,51,102)
#333366 contains red, green and blue colors in about the same proportion. #333366 color is web safe color. It maybe written shortly as #336.
#333366 color RGB value is (51,51,102).
RGB: (51,51,102)
(20%, 20%, 40%)
R 51 of 255 = 20%
G 51 of 255 = 20%
B 102 of 255 = 40%
R + G + B ~ 27%. #333366 is quite dark color.
R + G + B = 51 + 51 + 102 = 204 (100%)
R 51 of 204 ~ 25%
G 51 of 204 ~ 25%
B 102 of 204 ~ 50'%
#333366 color CMYK value is (50,50,0,60).
CMYK: (50,50,0,60)
C50M50Y0K60 (50%, 50%, 0%, 60%)
(0.50 / 0.50 / 0.00 / 0.60)
Color #333366 in popluar color models
33 | 33 | 66 | |
---|---|---|---|
RGB | 51 | 51 | 102 |
HSL | 240° | 33.33% | 30.00% |
HSB/HSV | 240° | 50.00% | 40.00% |
CMYK | 50.00% | 50.00% | 0.00% |
60.00% |
Color #333366 in popluar number systems.
HEX | 33 | 33 | 66 |
Decimal | 51 | 51 | 102 |
Binary | 110011 | 110011 | 1100110 |
Octal | 63 | 63 | 146 |
Shades of #333366
Tints of #333366
Examples of css and html codes for elements with #333366 color. Also use rgb(51,51,102) instead hex code.
.myTextColor { color: #333366; }
<p style="color:#333366">This sample text font color is #333366.</p>
This text font color is #333366.
.myBgColor { background-color: #333366; }
<div style="background-color:#333366">Inner text</div>
This div background color is #333366.
.myBorderColor { border: 1px solid #333366; }
<div style="border:3px solid #333366">Div</div>
This div border color is #333366.
.myOpacity80 { color: #333366; opacity: 0.8; }
<p style="color:#333366;opacity:0.8;">80%</p>
Text with #333366 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #333366;}
<p style="text-shadow: 3px 3px 1px #333366">Text here.</p>
This text has shadow with #333366 color.
.textShadow {text-shadow: 3px 3px 1px #333366', 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #333366, 5px 5px 20px red">Text here.</p>
This text has shadow with #333366 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#333366, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#333366, Direction=45, Strength=4)">Text</p>
This text has shadow with #333366 and red colors in old Internet Explorer.
/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #333366;
-webkit-box-shadow: 1px 1px 3px 2px #333366;
box-shadow: 1px 1px 3px 2px #333366;
}
/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #333366; -webkit-box-shadow: 1px 1px 3px 2px #333366; box-shadow:1px 1px 3px 2px #333366;">
Div content here
</div>
This text has color #333366 on black background.
This text has color #333366 on white background.
This text has black color on #333366 background.
This text has white color on #333366 background.