COLOR #2E3440

HEX: #2E3440
RGB: (46,52,64)

Color info

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

RGB color model

#2E3440 color RGB value is (46,52,64).

  • red value is 46;
  • green value is 52;
  • blue value is 64.
RGB:
(46,52,64)
(18%,20%,25%)

RGB channels and saturation

R 46 of 255 = 18%
G 52 of 255 = 20%
B 64 of 255 = 25%

46
52
64

R + G + B ~ 21%. #2E3440 is dark color.

Portions of RGB colors in percentages

R + G + B =
46 + 52 + 64 = 162 (100%)
R 46 of 162 ~ 28.4%
G 52 of 162 ~ 32.1%
B 64 of 162 ~ 39.51%

%28.4
%32.1
%39.51

CMYK color model

#2E3440 color CMYK value is (28,19,0,75).

  • cyan value is 28.13%
  • magenta value is 18.75%
  • yellow value is 0.00%
  • key color value is 74.90%
CMYK:
(28,19,0,75)
C28M19Y0K75 
(28%,19%,0%,75%)
(0.28/0.19/0.00/0.75)	

CMYK percentages

%28.13
%18.75
%0
%74.9

Codes

Color #2E3440 in popluar color models

2E3440
RGB465264
HSL220°16.36%21.57%
HSB/HSV220°28.13%25.10%
CMYK28.13%18.75%0.00%
74.90%

Color #2E3440 in popluar number systems.

HEX2E3440
Decimal465264
Binary1011101101001000000
Octal5664100

Shades and tints

Shades of #2E3440

#2E3440
(46,52,64)
#2A303B
(42,48,59)
#262C36
(38,44,54)
#222831
(34,40,49)
#1E242C
(30,36,44)
#1A2027
(26,32,39)
#161C22
(22,28,34)
#12181D
(18,24,29)
#0E1418
(14,20,24)
#0A1013
(10,16,19)
#060C0E
(6,12,14)
#000000
(0,0,0)

Tints of #2E3440

#2E3440
(46,52,64)
#414651
(65,70,81)
#545862
(84,88,98)
#676A73
(103,106,115)
#7A7C84
(122,124,132)
#8D8E95
(141,142,149)
#A0A0A6
(160,160,166)
#B3B2B7
(179,178,183)
#C6C4C8
(198,196,200)
#D9D6D9
(217,214,217)
#ECE8EA
(236,232,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2E3440 color. Also use rgb(46,52,64) instead hex code.

Text Font Color

.myTextColor { color: #2E3440; }

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

This text font color is #2E3440.


Background Color

.myBgColor { background-color: #2E3440; }

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

This div background color is #2E3440.


Border color

.myBorderColor { border: 1px solid #2E3440; }

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

This div border color is #2E3440.


Opacity

.myOpacity80 { color: #2E3440; opacity: 0.8; }

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

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

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

This text has shadow with #2E3440 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2E3440 on black background.


Color preview on white background

This text has color #2E3440 on white background.



Black color preview on #2E3440 background

This text has black color on #2E3440 background.


White color preview on #2E3440 background

This text has white color on #2E3440 background.