COLOR #30304E

HEX: #30304E RGB: (48,48,78)

Color info

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

RGB color model

#30304E color RGB value is (48,48,78).

RGB: (48,48,78) (19%, 19%, 31%)

RGB channels and saturation

R 48 of 255 = 19%
G 48 of 255 = 19%
B 78 of 255 = 31%

48
48
78

R + G + B ~ 23%. #30304E is dark color.

Portions of RGB colors in percentages

R + G + B = 48 + 48 + 78 = 174 (100%)
R 48 of 174 ~ 27.59%
G 48 of 174 ~ 27.59%
B 78 of 174 ~ 44.83'%

%27.59
%27.59
%44.83

CMYK color model

#30304E color CMYK value is (38,38,0,69).

  • cyan value is 38.46%
  • magenta value is 38.46%
  • yellow value is 0.00%
  • key color value is 69.41%

CMYK: (38,38,0,69)
C38M38Y0K69 (38%, 38%, 0%, 69%)
(0.38 / 0.38 / 0.00 / 0.69)

CMYK percentages

%38.46
%38.46
%0
%69.41

Codes

Color #30304E in popluar color models

30 30 4E
RGB 48 48 78
HSL 240° 23.81% 24.71%
HSB/HSV 240° 38.46% 30.59%
CMYK 38.46% 38.46% 0.00%
69.41%

Color #30304E in popluar number systems.

HEX 30 30 4E
Decimal 48 48 78
Binary 110000 110000 1001110
Octal 60 60 116

Shades and tints

Shades of #30304E

#30304E
(48,48,78)
#2C2C47
(44,44,71)
#282840
(40,40,64)
#242439
(36,36,57)
#202032
(32,32,50)
#1C1C2B
(28,28,43)
#181824
(24,24,36)
#14141D
(20,20,29)
#101016
(16,16,22)
#0C0C0F
(12,12,15)
#080808
(8,8,8)
#000000
(0,0,0)

Tints of #30304E

#30304E
(48,48,78)
#42425E
(66,66,94)
#54546E
(84,84,110)
#66667E
(102,102,126)
#78788E
(120,120,142)
#8A8A9E
(138,138,158)
#9C9CAE
(156,156,174)
#AEAEBE
(174,174,190)
#C0C0CE
(192,192,206)
#D2D2DE
(210,210,222)
#E4E4EE
(228,228,238)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #30304E; }

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

This text font color is #30304E.

Background Color

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

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

This div background color is #30304E.

Border color

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

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

This div border color is #30304E.

Opacity

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

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

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

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

This text has shadow with #30304E color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #30304E.

Preview

Color preview on black background

This text has color #30304E on black background.


Color preview on white background

This text has color #30304E on white background.


Black color preview on #30304E background

This text has black color on #30304E background.


White color preview on #30304E background

This text has white color on #30304E background.


Related colors

Complementary color

Complementary color for #hex is #CFCFB1.


I love getcolorcode.com