COLOR #30304B

HEX: #30304B
RGB: (48,48,75)

Color info

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

RGB color model

#30304B color RGB value is (48,48,75).

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

RGB channels and saturation

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

48
48
75

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

Portions of RGB colors in percentages

R + G + B =
48 + 48 + 75 = 171 (100%)
R 48 of 171 ~ 28.07%
G 48 of 171 ~ 28.07%
B 75 of 171 ~ 43.86%

%28.07
%28.07
%43.86

CMYK color model

#30304B color CMYK value is (36,36,0,71).

  • cyan value is 36.00%
  • magenta value is 36.00%
  • yellow value is 0.00%
  • key color value is 70.59%
CMYK:
(36,36,0,71)
C36M36Y0K71 
(36%,36%,0%,71%)
(0.36/0.36/0.00/0.71)	

CMYK percentages

%36
%36
%0
%70.59

Codes

Color #30304B in popluar color models

30304B
RGB484875
HSL240°21.95%24.12%
HSB/HSV240°36.00%29.41%
CMYK36.00%36.00%0.00%
70.59%

Color #30304B in popluar number systems.

HEX30304B
Decimal484875
Binary1100001100001001011
Octal6060113

Shades and tints

Shades of #30304B

#30304B
(48,48,75)
#2C2C45
(44,44,69)
#28283F
(40,40,63)
#242439
(36,36,57)
#202033
(32,32,51)
#1C1C2D
(28,28,45)
#181827
(24,24,39)
#141421
(20,20,33)
#10101B
(16,16,27)
#0C0C15
(12,12,21)
#08080F
(8,8,15)
#000000
(0,0,0)

Tints of #30304B

#30304B
(48,48,75)
#42425B
(66,66,91)
#54546B
(84,84,107)
#66667B
(102,102,123)
#78788B
(120,120,139)
#8A8A9B
(138,138,155)
#9C9CAB
(156,156,171)
#AEAEBB
(174,174,187)
#C0C0CB
(192,192,203)
#D2D2DB
(210,210,219)
#E4E4EB
(228,228,235)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #30304B; }

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

This text font color is #30304B.


Background Color

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

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

This div background color is #30304B.


Border color

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

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

This div border color is #30304B.


Opacity

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

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

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

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

This text has shadow with #30304B color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #30304B on black background.


Color preview on white background

This text has color #30304B on white background.



Black color preview on #30304B background

This text has black color on #30304B background.


White color preview on #30304B background

This text has white color on #30304B background.