COLOR #304150

HEX: #304150
RGB: (48,65,80)

Color info

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

RGB color model

#304150 color RGB value is (48,65,80).

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

RGB channels and saturation

R 48 of 255 = 19%
G 65 of 255 = 25%
B 80 of 255 = 31%

48
65
80

R + G + B ~ 25%. #304150 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
48 + 65 + 80 = 193 (100%)
R 48 of 193 ~ 24.87%
G 65 of 193 ~ 33.68%
B 80 of 193 ~ 41.45%

%24.87
%33.68
%41.45

CMYK color model

#304150 color CMYK value is (40,19,0,69).

  • cyan value is 40.00%
  • magenta value is 18.75%
  • yellow value is 0.00%
  • key color value is 68.63%
CMYK:
(40,19,0,69)
C40M19Y0K69 
(40%,19%,0%,69%)
(0.40/0.19/0.00/0.69)	

CMYK percentages

%40
%18.75
%0
%68.63

Codes

Color #304150 in popluar color models

304150
RGB486580
HSL208°25.00%25.10%
HSB/HSV208°40.00%31.37%
CMYK40.00%18.75%0.00%
68.63%

Color #304150 in popluar number systems.

HEX304150
Decimal486580
Binary11000010000011010000
Octal60101120

Shades and tints

Shades of #304150

#304150
(48,65,80)
#2C3C49
(44,60,73)
#283742
(40,55,66)
#24323B
(36,50,59)
#202D34
(32,45,52)
#1C282D
(28,40,45)
#182326
(24,35,38)
#141E1F
(20,30,31)
#101918
(16,25,24)
#0C1411
(12,20,17)
#080F0A
(8,15,10)
#000000
(0,0,0)

Tints of #304150

#304150
(48,65,80)
#42525F
(66,82,95)
#54636E
(84,99,110)
#66747D
(102,116,125)
#78858C
(120,133,140)
#8A969B
(138,150,155)
#9CA7AA
(156,167,170)
#AEB8B9
(174,184,185)
#C0C9C8
(192,201,200)
#D2DAD7
(210,218,215)
#E4EBE6
(228,235,230)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #304150; }

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

This text font color is #304150.


Background Color

.myBgColor { background-color: #304150; }

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

This div background color is #304150.


Border color

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

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

This div border color is #304150.


Opacity

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

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

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

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

This text has shadow with #304150 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #304150 on black background.


Color preview on white background

This text has color #304150 on white background.



Black color preview on #304150 background

This text has black color on #304150 background.


White color preview on #304150 background

This text has white color on #304150 background.