COLOR #301C51

HEX: #301C51
RGB: (48,28,81)

Color info

#301C51 contains red, green and blue colors in about the same proportion. Web safe color of #301C51 is #333366 (or #336).

RGB color model

#301C51 color RGB value is (48,28,81).

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

RGB channels and saturation

R 48 of 255 = 19%
G 28 of 255 = 11%
B 81 of 255 = 32%

48
28
81

R + G + B ~ 21%. #301C51 is dark color.

Portions of RGB colors in percentages

R + G + B =
48 + 28 + 81 = 157 (100%)
R 48 of 157 ~ 30.57%
G 28 of 157 ~ 17.83%
B 81 of 157 ~ 51.59%

%30.57
%17.83
%51.59

CMYK color model

#301C51 color CMYK value is (41,65,0,68).

  • cyan value is 40.74%
  • magenta value is 65.43%
  • yellow value is 0.00%
  • key color value is 68.24%
CMYK:
(41,65,0,68)
C41M65Y0K68 
(41%,65%,0%,68%)
(0.41/0.65/0.00/0.68)	

CMYK percentages

%40.74
%65.43
%0
%68.24

Codes

Color #301C51 in popluar color models

301C51
RGB482881
HSL263°48.62%21.37%
HSB/HSV263°65.43%31.76%
CMYK40.74%65.43%0.00%
68.24%

Color #301C51 in popluar number systems.

HEX301C51
Decimal482881
Binary110000111001010001
Octal6034121

Shades and tints

Shades of #301C51

#301C51
(48,28,81)
#2C1A4A
(44,26,74)
#281843
(40,24,67)
#24163C
(36,22,60)
#201435
(32,20,53)
#1C122E
(28,18,46)
#181027
(24,16,39)
#140E20
(20,14,32)
#100C19
(16,12,25)
#0C0A12
(12,10,18)
#08080B
(8,8,11)
#000000
(0,0,0)

Tints of #301C51

#301C51
(48,28,81)
#423060
(66,48,96)
#54446F
(84,68,111)
#66587E
(102,88,126)
#786C8D
(120,108,141)
#8A809C
(138,128,156)
#9C94AB
(156,148,171)
#AEA8BA
(174,168,186)
#C0BCC9
(192,188,201)
#D2D0D8
(210,208,216)
#E4E4E7
(228,228,231)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #301C51; }

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

This text font color is #301C51.


Background Color

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

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

This div background color is #301C51.


Border color

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

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

This div border color is #301C51.


Opacity

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

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

Text with #301C51 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 #301C51;}

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

This text has shadow with #301C51 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #301C51 on black background.


Color preview on white background

This text has color #301C51 on white background.



Black color preview on #301C51 background

This text has black color on #301C51 background.


White color preview on #301C51 background

This text has white color on #301C51 background.