COLOR #304166

HEX: #304166 RGB: (48,65,102)

Color info

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

RGB color model

#304166 color RGB value is (48,65,102).

RGB: (48,65,102) (19%, 25%, 40%)

RGB channels and saturation

R 48 of 255 = 19%
G 65 of 255 = 25%
B 102 of 255 = 40%

48
65
102

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

Portions of RGB colors in percentages

R + G + B = 48 + 65 + 102 = 215 (100%)
R 48 of 215 ~ 22.33%
G 65 of 215 ~ 30.23%
B 102 of 215 ~ 47.44'%

%22.33
%30.23
%47.44

CMYK color model

#304166 color CMYK value is (53,36,0,60).

  • cyan value is 52.94%
  • magenta value is 36.27%
  • yellow value is 0.00%
  • key color value is 60.00%
CMYK: (53,36,0,60) C53M36Y0K60 (53%,36%,0%,60%) (0.53/0.36/0.00/0.60) 

CMYK percentages

%52.94
%36.27
%0
%60

Codes

Color #304166 in popluar color models

30 41 66
RGB 48 65 102
HSL 221° 36.00% 29.41%
HSB/HSV 221° 52.94% 40.00%
CMYK 52.94% 36.27% 0.00%
60.00%

Color #304166 in popluar number systems.

HEX 30 41 66
Decimal 48 65 102
Binary 110000 1000001 1100110
Octal 60 101 146

Shades and tints

Shades of #304166

#304166
(48,65,102)
#2C3C5D
(44,60,93)
#283754
(40,55,84)
#24324B
(36,50,75)
#202D42
(32,45,66)
#1C2839
(28,40,57)
#182330
(24,35,48)
#141E27
(20,30,39)
#10191E
(16,25,30)
#0C1415
(12,20,21)
#080F0C
(8,15,12)
#000000
(0,0,0)

Tints of #304166

#304166
(48,65,102)
#425273
(66,82,115)
#546380
(84,99,128)
#66748D
(102,116,141)
#78859A
(120,133,154)
#8A96A7
(138,150,167)
#9CA7B4
(156,167,180)
#AEB8C1
(174,184,193)
#C0C9CE
(192,201,206)
#D2DADB
(210,218,219)
#E4EBE8
(228,235,232)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #304166; }

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

This text font color is #304166.

Background Color

.myBgColor { background-color: #304166; }

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

This div background color is #304166.

Border color

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

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

This div border color is #304166.

Opacity

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

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

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

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

This text has shadow with #304166 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #304166.

Preview

Color preview on black background

This text has color #304166 on black background.


Color preview on white background

This text has color #304166 on white background.


Black color preview on #304166 background

This text has black color on #304166 background.


White color preview on #304166 background

This text has white color on #304166 background.


Related colors

Complementary color

Complementary color for #hex is #CFBE99.


I love getcolorcode.com

Triadic colors

1 #663041 and #416630 with #304166 are triadic colors.

2 #664130 and #413066 with #304166 are triadic colors.