COLOR #304662

HEX: #304662
RGB: (48,70,98)

Color info

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

RGB color model

#304662 color RGB value is (48,70,98).

  • red value is 48;
  • green value is 70;
  • blue value is 98.
RGB:
(48,70,98)
(19%,27%,38%)

RGB channels and saturation

R 48 of 255 = 19%
G 70 of 255 = 27%
B 98 of 255 = 38%

48
70
98

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

Portions of RGB colors in percentages

R + G + B =
48 + 70 + 98 = 216 (100%)
R 48 of 216 ~ 22.22%
G 70 of 216 ~ 32.41%
B 98 of 216 ~ 45.37%

%22.22
%32.41
%45.37

CMYK color model

#304662 color CMYK value is (51,29,0,62).

  • cyan value is 51.02%
  • magenta value is 28.57%
  • yellow value is 0.00%
  • key color value is 61.57%
CMYK:
(51,29,0,62)
C51M29Y0K62 
(51%,29%,0%,62%)
(0.51/0.29/0.00/0.62)	

CMYK percentages

%51.02
%28.57
%0
%61.57

Codes

Color #304662 in popluar color models

304662
RGB487098
HSL214°34.25%28.63%
HSB/HSV214°51.02%38.43%
CMYK51.02%28.57%0.00%
61.57%

Color #304662 in popluar number systems.

HEX304662
Decimal487098
Binary11000010001101100010
Octal60106142

Shades and tints

Shades of #304662

#304662
(48,70,98)
#2C405A
(44,64,90)
#283A52
(40,58,82)
#24344A
(36,52,74)
#202E42
(32,46,66)
#1C283A
(28,40,58)
#182232
(24,34,50)
#141C2A
(20,28,42)
#101622
(16,22,34)
#0C101A
(12,16,26)
#080A12
(8,10,18)
#000000
(0,0,0)

Tints of #304662

#304662
(48,70,98)
#425670
(66,86,112)
#54667E
(84,102,126)
#66768C
(102,118,140)
#78869A
(120,134,154)
#8A96A8
(138,150,168)
#9CA6B6
(156,166,182)
#AEB6C4
(174,182,196)
#C0C6D2
(192,198,210)
#D2D6E0
(210,214,224)
#E4E6EE
(228,230,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #304662 color. Also use rgb(48,70,98) instead hex code.

Text Font Color

.myTextColor { color: #304662; }

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

This text font color is #304662.


Background Color

.myBgColor { background-color: #304662; }

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

This div background color is #304662.


Border color

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

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

This div border color is #304662.


Opacity

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

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

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

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

This text has shadow with #304662 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #304662 on black background.


Color preview on white background

This text has color #304662 on white background.



Black color preview on #304662 background

This text has black color on #304662 background.


White color preview on #304662 background

This text has white color on #304662 background.