COLOR #303842

HEX: #303842 RGB: (48,56,66)

Color info

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

RGB color model

#303842 color RGB value is (48,56,66).

RGB: (48,56,66) (19%, 22%, 26%)

RGB channels and saturation

R 48 of 255 = 19%
G 56 of 255 = 22%
B 66 of 255 = 26%

48
56
66

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

Portions of RGB colors in percentages

R + G + B = 48 + 56 + 66 = 170 (100%)
R 48 of 170 ~ 28.24%
G 56 of 170 ~ 32.94%
B 66 of 170 ~ 38.82'%

%28.24
%32.94
%38.82

CMYK color model

#303842 color CMYK value is (27,15,0,74).

  • cyan value is 27.27%
  • magenta value is 15.15%
  • yellow value is 0.00%
  • key color value is 74.12%
CMYK: (27,15,0,74) C27M15Y0K74 (27%,15%,0%,74%) (0.27/0.15/0.00/0.74) 

CMYK percentages

%27.27
%15.15
%0
%74.12

Codes

Color #303842 in popluar color models

30 38 42
RGB 48 56 66
HSL 213° 15.79% 22.35%
HSB/HSV 213° 27.27% 25.88%
CMYK 27.27% 15.15% 0.00%
74.12%

Color #303842 in popluar number systems.

HEX 30 38 42
Decimal 48 56 66
Binary 110000 111000 1000010
Octal 60 70 102

Shades and tints

Shades of #303842

#303842
(48,56,66)
#2C333C
(44,51,60)
#282E36
(40,46,54)
#242930
(36,41,48)
#20242A
(32,36,42)
#1C1F24
(28,31,36)
#181A1E
(24,26,30)
#141518
(20,21,24)
#101012
(16,16,18)
#0C0B0C
(12,11,12)
#080606
(8,6,6)
#000000
(0,0,0)

Tints of #303842

#303842
(48,56,66)
#424A53
(66,74,83)
#545C64
(84,92,100)
#666E75
(102,110,117)
#788086
(120,128,134)
#8A9297
(138,146,151)
#9CA4A8
(156,164,168)
#AEB6B9
(174,182,185)
#C0C8CA
(192,200,202)
#D2DADB
(210,218,219)
#E4ECEC
(228,236,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #303842; }

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

This text font color is #303842.

Background Color

.myBgColor { background-color: #303842; }

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

This div background color is #303842.

Border color

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

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

This div border color is #303842.

Opacity

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

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

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

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

This text has shadow with #303842 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #303842.

Preview

Color preview on black background

This text has color #303842 on black background.


Color preview on white background

This text has color #303842 on white background.


Black color preview on #303842 background

This text has black color on #303842 background.


White color preview on #303842 background

This text has white color on #303842 background.


Related colors

Complementary color

Complementary color for #hex is #CFC7BD.


I love getcolorcode.com

Triadic colors

1 #423038 and #384230 with #303842 are triadic colors.

2 #423830 and #383042 with #303842 are triadic colors.