COLOR #301C9E

HEX: #301C9E
RGB: (48,28,158)

Color info

#301C9E contains mainly blue color. Web safe color of #301C9E is #333399 (or #339).

RGB color model

#301C9E color RGB value is (48,28,158).

  • red value is 48;
  • green value is 28;
  • blue value is 158.
RGB:
(48,28,158)
(19%,11%,62%)

RGB channels and saturation

R 48 of 255 = 19%
G 28 of 255 = 11%
B 158 of 255 = 62%

48
28
158

R + G + B ~ 31%. #301C9E is quite dark color.

Portions of RGB colors in percentages

R + G + B =
48 + 28 + 158 = 234 (100%)
R 48 of 234 ~ 20.51%
G 28 of 234 ~ 11.97%
B 158 of 234 ~ 67.52%

%20.51
%11.97
%67.52

CMYK color model

#301C9E color CMYK value is (70,82,0,38).

  • cyan value is 69.62%
  • magenta value is 82.28%
  • yellow value is 0.00%
  • key color value is 38.04%
CMYK:
(70,82,0,38)
C70M82Y0K38 
(70%,82%,0%,38%)
(0.70/0.82/0.00/0.38)	

CMYK percentages

%69.62
%82.28
%0
%38.04

Codes

Color #301C9E in popluar color models

301C9E
RGB4828158
HSL249°69.89%36.47%
HSB/HSV249°82.28%61.96%
CMYK69.62%82.28%0.00%
38.04%

Color #301C9E in popluar number systems.

HEX301C9E
Decimal4828158
Binary1100001110010011110
Octal6034236

Shades and tints

Shades of #301C9E

#301C9E
(48,28,158)
#2C1A90
(44,26,144)
#281882
(40,24,130)
#241674
(36,22,116)
#201466
(32,20,102)
#1C1258
(28,18,88)
#18104A
(24,16,74)
#140E3C
(20,14,60)
#100C2E
(16,12,46)
#0C0A20
(12,10,32)
#080812
(8,8,18)
#000000
(0,0,0)

Tints of #301C9E

#301C9E
(48,28,158)
#4230A6
(66,48,166)
#5444AE
(84,68,174)
#6658B6
(102,88,182)
#786CBE
(120,108,190)
#8A80C6
(138,128,198)
#9C94CE
(156,148,206)
#AEA8D6
(174,168,214)
#C0BCDE
(192,188,222)
#D2D0E6
(210,208,230)
#E4E4EE
(228,228,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #301C9E color. Also use rgb(48,28,158) instead hex code.

Text Font Color

.myTextColor { color: #301C9E; }

<p style="color:#301C9E">This sample text font color is #301C9E.</p>

This text font color is #301C9E.


Background Color

.myBgColor { background-color: #301C9E; }

<div style="background-color:#301C9E">Inner text</div>

This div background color is #301C9E.


Border color

.myBorderColor { border: 1px solid #301C9E; }

<div style="border:3px solid #301C9E">Div</div>

This div border color is #301C9E.


Opacity

.myOpacity80 { color: #301C9E; opacity: 0.8; }

<p style="color:#301C9E;opacity:0.8;">80%</p>

Text with #301C9E color and opacity 100% | 80% | 50% | 30%.

Background with opacity value 100%.

Background with opacity value 80%.

Background with opacity value 50%.

Background with opacity value 30%.

Text shadow color

.textShadow {text-shadow: 3px 3px 1px #301C9E;}

<p style="text-shadow: 3px 3px 1px #301C9E">Text here.</p>

This text has shadow with #301C9E color.

.textShadow {text-shadow: 3px 3px 1px #301C9E, 3px 3px 1px red;}

<p style="text-shadow: 3px 3px 1px #301C9E, 5px 5px 20px red">Text here.</p>

This text has shadow with #301C9E primary color and red secondary color.


Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#301C9E, Direction=45, Strength=4)}

<p style="filter: Shadow(Color=#301C9E, Direction=45, Strength=4)">Text</p>

This text has shadow with #301C9E and red colors in old Internet Explorer.


Div box shadow color

/* css code */
.divShadow
{
  -moz-box-shadow:	1px 1px 3px 2px #301C9E;
  -webkit-box-shadow:	1px 1px 3px 2px #301C9E;
  box-shadow:		1px 1px 3px 2px #301C9E;
}

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #301C9E;
-webkit-box-shadow: 1px 1px 3px 2px #301C9E;
box-shadow:1px 1px 3px 2px #301C9E;">
Div content here</div>
This div box has shadow with color #301C9E.

Preview

Color preview on black background

This text has color #301C9E on black background.


Color preview on white background

This text has color #301C9E on white background.



Black color preview on #301C9E background

This text has black color on #301C9E background.


White color preview on #301C9E background

This text has white color on #301C9E background.