COLOR #181740

HEX: #181740 RGB: (24,23,64)

Color info

#181740 contains red, green and blue colors in about the same proportion. Web safe color of #181740 is #000033 (or #003).

RGB color model

#181740 color RGB value is (24,23,64).

RGB: (24,23,64) (9%, 9%, 25%)

RGB channels and saturation

R 24 of 255 = 9%
G 23 of 255 = 9%
B 64 of 255 = 25%

24
23
64

R + G + B ~ 14%. #181740 is dark color.

Portions of RGB colors in percentages

R + G + B = 24 + 23 + 64 = 111 (100%)
R 24 of 111 ~ 21.62%
G 23 of 111 ~ 20.72%
B 64 of 111 ~ 57.66'%

%21.62
%20.72
%57.66

CMYK color model

#181740 color CMYK value is (63,64,0,75).

  • cyan value is 62.50%
  • magenta value is 64.06%
  • yellow value is 0.00%
  • key color value is 74.90%

CMYK: (63,64,0,75)
C63M64Y0K75 (63%, 64%, 0%, 75%)
(0.63 / 0.64 / 0.00 / 0.75)

CMYK percentages

%62.5
%64.06
%0
%74.9

Codes

Color #181740 in popluar color models

18 17 40
RGB 24 23 64
HSL 241° 47.13% 17.06%
HSB/HSV 241° 64.06% 25.10%
CMYK 62.50% 64.06% 0.00%
74.90%

Color #181740 in popluar number systems.

HEX 18 17 40
Decimal 24 23 64
Binary 11000 10111 1000000
Octal 30 27 100

Shades and tints

Shades of #181740

#181740
(24,23,64)
#16153B
(22,21,59)
#141336
(20,19,54)
#121131
(18,17,49)
#100F2C
(16,15,44)
#0E0D27
(14,13,39)
#0C0B22
(12,11,34)
#0A091D
(10,9,29)
#080718
(8,7,24)
#060513
(6,5,19)
#04030E
(4,3,14)
#000000
(0,0,0)

Tints of #181740

#181740
(24,23,64)
#2D2C51
(45,44,81)
#424162
(66,65,98)
#575673
(87,86,115)
#6C6B84
(108,107,132)
#818095
(129,128,149)
#9695A6
(150,149,166)
#ABAAB7
(171,170,183)
#C0BFC8
(192,191,200)
#D5D4D9
(213,212,217)
#EAE9EA
(234,233,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #181740 color. Also use rgb(24,23,64) instead hex code.

Text Font Color

.myTextColor { color: #181740; }

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

This text font color is #181740.

Background Color

.myBgColor { background-color: #181740; }

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

This div background color is #181740.

Border color

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

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

This div border color is #181740.

Opacity

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

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

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

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

This text has shadow with #181740 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #181740.

Preview

Color preview on black background

This text has color #181740 on black background.


Color preview on white background

This text has color #181740 on white background.


Black color preview on #181740 background

This text has black color on #181740 background.


White color preview on #181740 background

This text has white color on #181740 background.


Related colors

Complementary color

Complementary color for #hex is #E7E8BF.


I love getcolorcode.com

Triadic colors

1 #401817 and #174018 with #181740 are triadic colors.

2 #401718 and #171840 with #181740 are triadic colors.