COLOR #30304A

HEX: #30304A
RGB: (48,48,74)

Color info

#30304A contains red, green and blue colors in about the same proportion. Web safe color of #30304A is #333333 (or #333).

RGB color model

#30304A color RGB value is (48,48,74).

  • red value is 48;
  • green value is 48;
  • blue value is 74.
RGB:
(48,48,74)
(19%,19%,29%)

RGB channels and saturation

R 48 of 255 = 19%
G 48 of 255 = 19%
B 74 of 255 = 29%

48
48
74

R + G + B ~ 22%. #30304A is dark color.

Portions of RGB colors in percentages

R + G + B =
48 + 48 + 74 = 170 (100%)
R 48 of 170 ~ 28.24%
G 48 of 170 ~ 28.24%
B 74 of 170 ~ 43.53%

%28.24
%28.24
%43.53

CMYK color model

#30304A color CMYK value is (35,35,0,71).

  • cyan value is 35.14%
  • magenta value is 35.14%
  • yellow value is 0.00%
  • key color value is 70.98%
CMYK:
(35,35,0,71)
C35M35Y0K71 
(35%,35%,0%,71%)
(0.35/0.35/0.00/0.71)	

CMYK percentages

%35.14
%35.14
%0
%70.98

Codes

Color #30304A in popluar color models

30304A
RGB484874
HSL240°21.31%23.92%
HSB/HSV240°35.14%29.02%
CMYK35.14%35.14%0.00%
70.98%

Color #30304A in popluar number systems.

HEX30304A
Decimal484874
Binary1100001100001001010
Octal6060112

Shades and tints

Shades of #30304A

#30304A
(48,48,74)
#2C2C44
(44,44,68)
#28283E
(40,40,62)
#242438
(36,36,56)
#202032
(32,32,50)
#1C1C2C
(28,28,44)
#181826
(24,24,38)
#141420
(20,20,32)
#10101A
(16,16,26)
#0C0C14
(12,12,20)
#08080E
(8,8,14)
#000000
(0,0,0)

Tints of #30304A

#30304A
(48,48,74)
#42425A
(66,66,90)
#54546A
(84,84,106)
#66667A
(102,102,122)
#78788A
(120,120,138)
#8A8A9A
(138,138,154)
#9C9CAA
(156,156,170)
#AEAEBA
(174,174,186)
#C0C0CA
(192,192,202)
#D2D2DA
(210,210,218)
#E4E4EA
(228,228,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #30304A color. Also use rgb(48,48,74) instead hex code.

Text Font Color

.myTextColor { color: #30304A; }

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

This text font color is #30304A.


Background Color

.myBgColor { background-color: #30304A; }

<div style="background-color:#30304A">Inner text</div>

This div background color is #30304A.


Border color

.myBorderColor { border: 1px solid #30304A; }

<div style="border:3px solid #30304A">Div</div>

This div border color is #30304A.


Opacity

.myOpacity80 { color: #30304A; opacity: 0.8; }

<p style="color:#30304A;opacity:0.8;">80%</p>

Text with #30304A 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 #30304A;}

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

This text has shadow with #30304A color.

.textShadow {text-shadow: 3px 3px 1px #30304A, 3px 3px 1px red;}

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

This text has shadow with #30304A primary color and red secondary color.


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

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

This text has shadow with #30304A and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #30304A on black background.


Color preview on white background

This text has color #30304A on white background.



Black color preview on #30304A background

This text has black color on #30304A background.


White color preview on #30304A background

This text has white color on #30304A background.