COLOR #304052

HEX: #304052 RGB: (48,64,82)

Color info

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

RGB color model

#304052 color RGB value is (48,64,82).

RGB: (48,64,82) (19%, 25%, 32%)

RGB channels and saturation

R 48 of 255 = 19%
G 64 of 255 = 25%
B 82 of 255 = 32%

48
64
82

R + G + B ~ 25%. #304052 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 48 + 64 + 82 = 194 (100%)
R 48 of 194 ~ 24.74%
G 64 of 194 ~ 32.99%
B 82 of 194 ~ 42.27'%

%24.74
%32.99
%42.27

CMYK color model

#304052 color CMYK value is (41,22,0,68).

  • cyan value is 41.46%
  • magenta value is 21.95%
  • yellow value is 0.00%
  • key color value is 67.84%
CMYK: (41,22,0,68) C41M22Y0K68 (41%,22%,0%,68%) (0.41/0.22/0.00/0.68) 

CMYK percentages

%41.46
%21.95
%0
%67.84

Codes

Color #304052 in popluar color models

30 40 52
RGB 48 64 82
HSL 212° 26.15% 25.49%
HSB/HSV 212° 41.46% 32.16%
CMYK 41.46% 21.95% 0.00%
67.84%

Color #304052 in popluar number systems.

HEX 30 40 52
Decimal 48 64 82
Binary 110000 1000000 1010010
Octal 60 100 122

Shades and tints

Shades of #304052

#304052
(48,64,82)
#2C3B4B
(44,59,75)
#283644
(40,54,68)
#24313D
(36,49,61)
#202C36
(32,44,54)
#1C272F
(28,39,47)
#182228
(24,34,40)
#141D21
(20,29,33)
#10181A
(16,24,26)
#0C1313
(12,19,19)
#080E0C
(8,14,12)
#000000
(0,0,0)

Tints of #304052

#304052
(48,64,82)
#425161
(66,81,97)
#546270
(84,98,112)
#66737F
(102,115,127)
#78848E
(120,132,142)
#8A959D
(138,149,157)
#9CA6AC
(156,166,172)
#AEB7BB
(174,183,187)
#C0C8CA
(192,200,202)
#D2D9D9
(210,217,217)
#E4EAE8
(228,234,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #304052 color. Also use rgb(48,64,82) instead hex code.

Text Font Color

.myTextColor { color: #304052; }

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

This text font color is #304052.

Background Color

.myBgColor { background-color: #304052; }

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

This div background color is #304052.

Border color

.myBorderColor { border: 1px solid #304052; }

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

This div border color is #304052.

Opacity

.myOpacity80 { color: #304052; opacity: 0.8; }

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

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

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

This text has shadow with #304052 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #304052.

Preview

Color preview on black background

This text has color #304052 on black background.


Color preview on white background

This text has color #304052 on white background.


Black color preview on #304052 background

This text has black color on #304052 background.


White color preview on #304052 background

This text has white color on #304052 background.


Related colors

Complementary color

Complementary color for #hex is #CFBFAD.


I love getcolorcode.com

Triadic colors

1 #523040 and #405230 with #304052 are triadic colors.

2 #524030 and #403052 with #304052 are triadic colors.