HEX: #300B99
RGB: (48,11,153)
#300B99 contains mainly blue color. Web safe color of #300B99 is #330099 (or #309).
#300B99 color RGB value is (48,11,153).
RGB: (48,11,153) (19%,4%,60%)
R 48 of 255 = 19%
G 11 of 255 = 4%
B 153 of 255 = 60%
R + G + B ~ 28%. #300B99 is quite dark color.
R + G + B =
48 + 11 + 153 = 212 (100%)
R 48 of 212 ~ 22.64%
G 11 of 212 ~ 5.19%
B 153 of 212 ~ 72.17%
#300B99 color CMYK value is (69,93,0,40).
CMYK: (69,93,0,40) C69M93Y0K40 (69%,93%,0%,40%) (0.69/0.93/0.00/0.40)
30 | 0B | 99 | |
---|---|---|---|
RGB | 48 | 11 | 153 |
HSL | 256° | 86.59% | 32.16% |
HSB/HSV | 256° | 92.81% | 60.00% |
CMYK | 68.63% | 92.81% | 0.00% |
40.00% |
HEX | 30 | 0B | 99 |
Decimal | 48 | 11 | 153 |
Binary | 110000 | 1011 | 10011001 |
Octal | 60 | 13 | 231 |
Examples of css and html codes for elements with #300B99 color. Also use rgb(48,11,153) instead hex code.
.myTextColor { color: #300B99; }
<p style="color:#300B99">This sample text font color is #300B99.</p>
This text font color is #300B99.
.myBgColor { background-color: #300B99; }
<div style="background-color:#300B99">Inner text</div>
This div background color is #300B99.
.myBorderColor { border: 1px solid #300B99; }
<div style="border:3px solid #300B99">Div</div>
This div border color is #300B99.
.myOpacity80 { color: #300B99; opacity: 0.8; }
<p style="color:#300B99;opacity:0.8;">80%</p>
Text with #300B99 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #300B99;}
<p style="text-shadow: 3px 3px 1px #300B99">Text here.</p>
This text has shadow with #300B99 color.
.textShadow {text-shadow: 3px 3px 1px #300B99, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #300B99, 5px 5px 20px red">Text here.</p>
This text has shadow with #300B99 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#300B99, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#300B99, Direction=45, Strength=4)">Text</p>
This text has shadow with #300B99 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #300B99; -webkit-box-shadow: 1px 1px 3px 2px #300B99; box-shadow: 1px 1px 3px 2px #300B99; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #300B99; -webkit-box-shadow: 1px 1px 3px 2px #300B99; box-shadow:1px 1px 3px 2px #300B99;">
Div content here</div>
This text has color #300B99 on black background.
This text has color #300B99 on white background.
This text has black color on #300B99 background.
This text has white color on #300B99 background.