COLOR #304156

HEX: #304156 RGB: (48,65,86)

Color info

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

RGB color model

#304156 color RGB value is (48,65,86).

RGB: (48,65,86) (19%, 25%, 34%)

RGB channels and saturation

R 48 of 255 = 19%
G 65 of 255 = 25%
B 86 of 255 = 34%

48
65
86

R + G + B ~ 26%. #304156 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 48 + 65 + 86 = 199 (100%)
R 48 of 199 ~ 24.12%
G 65 of 199 ~ 32.66%
B 86 of 199 ~ 43.22'%

%24.12
%32.66
%43.22

CMYK color model

#304156 color CMYK value is (44,24,0,66).

  • cyan value is 44.19%
  • magenta value is 24.42%
  • yellow value is 0.00%
  • key color value is 66.27%

CMYK: (44,24,0,66)
C44M24Y0K66 (44%, 24%, 0%, 66%)
(0.44 / 0.24 / 0.00 / 0.66)

CMYK percentages

%44.19
%24.42
%0
%66.27

Codes

Color #304156 in popluar color models

30 41 56
RGB 48 65 86
HSL 213° 28.36% 26.27%
HSB/HSV 213° 44.19% 33.73%
CMYK 44.19% 24.42% 0.00%
66.27%

Color #304156 in popluar number systems.

HEX 30 41 56
Decimal 48 65 86
Binary 110000 1000001 1010110
Octal 60 101 126

Shades and tints

Shades of #304156

#304156
(48,65,86)
#2C3C4F
(44,60,79)
#283748
(40,55,72)
#243241
(36,50,65)
#202D3A
(32,45,58)
#1C2833
(28,40,51)
#18232C
(24,35,44)
#141E25
(20,30,37)
#10191E
(16,25,30)
#0C1417
(12,20,23)
#080F10
(8,15,16)
#000000
(0,0,0)

Tints of #304156

#304156
(48,65,86)
#425265
(66,82,101)
#546374
(84,99,116)
#667483
(102,116,131)
#788592
(120,133,146)
#8A96A1
(138,150,161)
#9CA7B0
(156,167,176)
#AEB8BF
(174,184,191)
#C0C9CE
(192,201,206)
#D2DADD
(210,218,221)
#E4EBEC
(228,235,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #304156 color. Also use rgb(48,65,86) instead hex code.

Text Font Color

.myTextColor { color: #304156; }

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

This text font color is #304156.

Background Color

.myBgColor { background-color: #304156; }

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

This div background color is #304156.

Border color

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

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

This div border color is #304156.

Opacity

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

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

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

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

This text has shadow with #304156 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #304156.

Preview

Color preview on black background

This text has color #304156 on black background.


Color preview on white background

This text has color #304156 on white background.


Black color preview on #304156 background

This text has black color on #304156 background.


White color preview on #304156 background

This text has white color on #304156 background.


Related colors

Complementary color

Complementary color for #hex is #CFBEA9.


I love getcolorcode.com

Triadic colors

1 #563041 and #415630 with #304156 are triadic colors.

2 #564130 and #413056 with #304156 are triadic colors.