HEX: #332688
RGB: (51,38,136)
#332688 contains mainly blue color. Web safe color of #332688 is #333399 (or #339).
#332688 color RGB value is (51,38,136).
RGB: (51,38,136) (20%,15%,53%)
R 51 of 255 = 20%
G 38 of 255 = 15%
B 136 of 255 = 53%
R + G + B ~ 29%. #332688 is quite dark color.
R + G + B =
51 + 38 + 136 = 225 (100%)
R 51 of 225 ~ 22.67%
G 38 of 225 ~ 16.89%
B 136 of 225 ~ 60.44%
#332688 color CMYK value is (63,72,0,47).
CMYK: (63,72,0,47) C63M72Y0K47 (63%,72%,0%,47%) (0.63/0.72/0.00/0.47)
33 | 26 | 88 | |
---|---|---|---|
RGB | 51 | 38 | 136 |
HSL | 248° | 56.32% | 34.12% |
HSB/HSV | 248° | 72.06% | 53.33% |
CMYK | 62.50% | 72.06% | 0.00% |
46.67% |
HEX | 33 | 26 | 88 |
Decimal | 51 | 38 | 136 |
Binary | 110011 | 100110 | 10001000 |
Octal | 63 | 46 | 210 |
Examples of css and html codes for elements with #332688 color. Also use rgb(51,38,136) instead hex code.
.myTextColor { color: #332688; }
<p style="color:#332688">This sample text font color is #332688.</p>
This text font color is #332688.
.myBgColor { background-color: #332688; }
<div style="background-color:#332688">Inner text</div>
This div background color is #332688.
.myBorderColor { border: 1px solid #332688; }
<div style="border:3px solid #332688">Div</div>
This div border color is #332688.
.myOpacity80 { color: #332688; opacity: 0.8; }
<p style="color:#332688;opacity:0.8;">80%</p>
Text with #332688 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #332688;}
<p style="text-shadow: 3px 3px 1px #332688">Text here.</p>
This text has shadow with #332688 color.
.textShadow {text-shadow: 3px 3px 1px #332688, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #332688, 5px 5px 20px red">Text here.</p>
This text has shadow with #332688 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#332688, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#332688, Direction=45, Strength=4)">Text</p>
This text has shadow with #332688 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #332688; -webkit-box-shadow: 1px 1px 3px 2px #332688; box-shadow: 1px 1px 3px 2px #332688; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #332688; -webkit-box-shadow: 1px 1px 3px 2px #332688; box-shadow:1px 1px 3px 2px #332688;">
Div content here</div>
This text has color #332688 on black background.
This text has color #332688 on white background.
This text has black color on #332688 background.
This text has white color on #332688 background.