COLOR #304958

HEX: #304958
RGB: (48,73,88)

Color info

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

RGB color model

#304958 color RGB value is (48,73,88).

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

RGB channels and saturation

R 48 of 255 = 19%
G 73 of 255 = 29%
B 88 of 255 = 35%

48
73
88

R + G + B ~ 28%. #304958 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
48 + 73 + 88 = 209 (100%)
R 48 of 209 ~ 22.97%
G 73 of 209 ~ 34.93%
B 88 of 209 ~ 42.11%

%22.97
%34.93
%42.11

CMYK color model

#304958 color CMYK value is (45,17,0,65).

  • cyan value is 45.45%
  • magenta value is 17.05%
  • yellow value is 0.00%
  • key color value is 65.49%
CMYK:
(45,17,0,65)
C45M17Y0K65 
(45%,17%,0%,65%)
(0.45/0.17/0.00/0.65)	

CMYK percentages

%45.45
%17.05
%0
%65.49

Codes

Color #304958 in popluar color models

304958
RGB487388
HSL203°29.41%26.67%
HSB/HSV203°45.45%34.51%
CMYK45.45%17.05%0.00%
65.49%

Color #304958 in popluar number systems.

HEX304958
Decimal487388
Binary11000010010011011000
Octal60111130

Shades and tints

Shades of #304958

#304958
(48,73,88)
#2C4350
(44,67,80)
#283D48
(40,61,72)
#243740
(36,55,64)
#203138
(32,49,56)
#1C2B30
(28,43,48)
#182528
(24,37,40)
#141F20
(20,31,32)
#101918
(16,25,24)
#0C1310
(12,19,16)
#080D08
(8,13,8)
#000000
(0,0,0)

Tints of #304958

#304958
(48,73,88)
#425967
(66,89,103)
#546976
(84,105,118)
#667985
(102,121,133)
#788994
(120,137,148)
#8A99A3
(138,153,163)
#9CA9B2
(156,169,178)
#AEB9C1
(174,185,193)
#C0C9D0
(192,201,208)
#D2D9DF
(210,217,223)
#E4E9EE
(228,233,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #304958 color. Also use rgb(48,73,88) instead hex code.

Text Font Color

.myTextColor { color: #304958; }

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

This text font color is #304958.


Background Color

.myBgColor { background-color: #304958; }

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

This div background color is #304958.


Border color

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

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

This div border color is #304958.


Opacity

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

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

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

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

This text has shadow with #304958 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #304958 on black background.


Color preview on white background

This text has color #304958 on white background.



Black color preview on #304958 background

This text has black color on #304958 background.


White color preview on #304958 background

This text has white color on #304958 background.