COLOR #304159

HEX: #304159
RGB: (48,65,89)

Color info

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

RGB color model

#304159 color RGB value is (48,65,89).

  • red value is 48;
  • green value is 65;
  • blue value is 89.
RGB:
(48,65,89)
(19%,25%,35%)

RGB channels and saturation

R 48 of 255 = 19%
G 65 of 255 = 25%
B 89 of 255 = 35%

48
65
89

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

Portions of RGB colors in percentages

R + G + B =
48 + 65 + 89 = 202 (100%)
R 48 of 202 ~ 23.76%
G 65 of 202 ~ 32.18%
B 89 of 202 ~ 44.06%

%23.76
%32.18
%44.06

CMYK color model

#304159 color CMYK value is (46,27,0,65).

  • cyan value is 46.07%
  • magenta value is 26.97%
  • yellow value is 0.00%
  • key color value is 65.10%
CMYK:
(46,27,0,65)
C46M27Y0K65 
(46%,27%,0%,65%)
(0.46/0.27/0.00/0.65)	

CMYK percentages

%46.07
%26.97
%0
%65.1

Codes

Color #304159 in popluar color models

304159
RGB486589
HSL215°29.93%26.86%
HSB/HSV215°46.07%34.90%
CMYK46.07%26.97%0.00%
65.10%

Color #304159 in popluar number systems.

HEX304159
Decimal486589
Binary11000010000011011001
Octal60101131

Shades and tints

Shades of #304159

#304159
(48,65,89)
#2C3C51
(44,60,81)
#283749
(40,55,73)
#243241
(36,50,65)
#202D39
(32,45,57)
#1C2831
(28,40,49)
#182329
(24,35,41)
#141E21
(20,30,33)
#101919
(16,25,25)
#0C1411
(12,20,17)
#080F09
(8,15,9)
#000000
(0,0,0)

Tints of #304159

#304159
(48,65,89)
#425268
(66,82,104)
#546377
(84,99,119)
#667486
(102,116,134)
#788595
(120,133,149)
#8A96A4
(138,150,164)
#9CA7B3
(156,167,179)
#AEB8C2
(174,184,194)
#C0C9D1
(192,201,209)
#D2DAE0
(210,218,224)
#E4EBEF
(228,235,239)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #304159; }

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

This text font color is #304159.


Background Color

.myBgColor { background-color: #304159; }

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

This div background color is #304159.


Border color

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

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

This div border color is #304159.


Opacity

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

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

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

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

This text has shadow with #304159 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #304159 on black background.


Color preview on white background

This text has color #304159 on white background.



Black color preview on #304159 background

This text has black color on #304159 background.


White color preview on #304159 background

This text has white color on #304159 background.