COLOR #304640

HEX: #304640 RGB: (48,70,64)

Color info

#304640 contains red, green and blue colors in about the same proportion. Web safe color of #304640 is #333333 (or #333).

RGB color model

#304640 color RGB value is (48,70,64).

RGB: (48,70,64) (19%, 27%, 25%)

RGB channels and saturation

R 48 of 255 = 19%
G 70 of 255 = 27%
B 64 of 255 = 25%

48
70
64

R + G + B ~ 24%. #304640 is dark color.

Portions of RGB colors in percentages

R + G + B = 48 + 70 + 64 = 182 (100%)
R 48 of 182 ~ 26.37%
G 70 of 182 ~ 38.46%
B 64 of 182 ~ 35.16'%

%26.37
%38.46
%35.16

CMYK color model

#304640 color CMYK value is (31,0,9,73).

  • cyan value is 31.43%
  • magenta value is 0.00%
  • yellow value is 8.57%
  • key color value is 72.55%

CMYK: (31,0,9,73)
C31M0Y9K73 (31%, 0%, 9%, 73%)
(0.31 / 0.00 / 0.09 / 0.73)

CMYK percentages

%31.43
%0
%8.57
%72.55

Codes

Color #304640 in popluar color models

30 46 40
RGB 48 70 64
HSL 164° 18.64% 23.14%
HSB/HSV 164° 31.43% 27.45%
CMYK 31.43% 0.00% 8.57%
72.55%

Color #304640 in popluar number systems.

HEX 30 46 40
Decimal 48 70 64
Binary 110000 1000110 1000000
Octal 60 106 100

Shades and tints

Shades of #304640

#304640
(48,70,64)
#2C403B
(44,64,59)
#283A36
(40,58,54)
#243431
(36,52,49)
#202E2C
(32,46,44)
#1C2827
(28,40,39)
#182222
(24,34,34)
#141C1D
(20,28,29)
#101618
(16,22,24)
#0C1013
(12,16,19)
#080A0E
(8,10,14)
#000000
(0,0,0)

Tints of #304640

#304640
(48,70,64)
#425651
(66,86,81)
#546662
(84,102,98)
#667673
(102,118,115)
#788684
(120,134,132)
#8A9695
(138,150,149)
#9CA6A6
(156,166,166)
#AEB6B7
(174,182,183)
#C0C6C8
(192,198,200)
#D2D6D9
(210,214,217)
#E4E6EA
(228,230,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #304640; }

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

This text font color is #304640.

Background Color

.myBgColor { background-color: #304640; }

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

This div background color is #304640.

Border color

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

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

This div border color is #304640.

Opacity

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

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

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

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

This text has shadow with #304640 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #304640.

Preview

Color preview on black background

This text has color #304640 on black background.


Color preview on white background

This text has color #304640 on white background.


Black color preview on #304640 background

This text has black color on #304640 background.


White color preview on #304640 background

This text has white color on #304640 background.


Related colors

Complementary color

Complementary color for #hex is #CFB9BF.


I love getcolorcode.com

Triadic colors

1 #403046 and #464030 with #304640 are triadic colors.

2 #404630 and #463040 with #304640 are triadic colors.