COLOR #303840

HEX: #303840 RGB: (48,56,64)

Color info

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

RGB color model

#303840 color RGB value is (48,56,64).

RGB: (48,56,64) (19%, 22%, 25%)

RGB channels and saturation

R 48 of 255 = 19%
G 56 of 255 = 22%
B 64 of 255 = 25%

48
56
64

R + G + B ~ 22%. #303840 is dark color.

Portions of RGB colors in percentages

R + G + B = 48 + 56 + 64 = 168 (100%)
R 48 of 168 ~ 28.57%
G 56 of 168 ~ 33.33%
B 64 of 168 ~ 38.1'%

%28.57
%33.33
%38.1

CMYK color model

#303840 color CMYK value is (25,13,0,75).

  • cyan value is 25.00%
  • magenta value is 12.50%
  • yellow value is 0.00%
  • key color value is 74.90%
CMYK: (25,13,0,75) C25M13Y0K75 (25%,13%,0%,75%) (0.25/0.13/0.00/0.75) 

CMYK percentages

%25
%12.5
%0
%74.9

Codes

Color #303840 in popluar color models

30 38 40
RGB 48 56 64
HSL 210° 14.29% 21.96%
HSB/HSV 210° 25.00% 25.10%
CMYK 25.00% 12.50% 0.00%
74.90%

Color #303840 in popluar number systems.

HEX 30 38 40
Decimal 48 56 64
Binary 110000 111000 1000000
Octal 60 70 100

Shades and tints

Shades of #303840

#303840
(48,56,64)
#2C333B
(44,51,59)
#282E36
(40,46,54)
#242931
(36,41,49)
#20242C
(32,36,44)
#1C1F27
(28,31,39)
#181A22
(24,26,34)
#14151D
(20,21,29)
#101018
(16,16,24)
#0C0B13
(12,11,19)
#08060E
(8,6,14)
#000000
(0,0,0)

Tints of #303840

#303840
(48,56,64)
#424A51
(66,74,81)
#545C62
(84,92,98)
#666E73
(102,110,115)
#788084
(120,128,132)
#8A9295
(138,146,149)
#9CA4A6
(156,164,166)
#AEB6B7
(174,182,183)
#C0C8C8
(192,200,200)
#D2DAD9
(210,218,217)
#E4ECEA
(228,236,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #303840; }

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

This text font color is #303840.

Background Color

.myBgColor { background-color: #303840; }

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

This div background color is #303840.

Border color

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

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

This div border color is #303840.

Opacity

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

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

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

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

This text has shadow with #303840 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #303840.

Preview

Color preview on black background

This text has color #303840 on black background.


Color preview on white background

This text has color #303840 on white background.


Black color preview on #303840 background

This text has black color on #303840 background.


White color preview on #303840 background

This text has white color on #303840 background.


Related colors

Complementary color

Complementary color for #hex is #CFC7BF.


I love getcolorcode.com

Triadic colors

1 #403038 and #384030 with #303840 are triadic colors.

2 #403830 and #383040 with #303840 are triadic colors.