:
logo qtransform

  to  




#402E4C color HEX code RGB, HSL, CMYK

COLOR CODE FOR HEXA COLOR #402E4C
#402E4C

   In a RGB color space, hex #402E4C is composed of 25% red, 18% green and 30% blue.
RGB color code is composed of a hexadecimal 40 red (64/255), a 2E green (46/255) and a 4C blue component (76/255). The decimal RGB color code is rgb(64,46,76)
In CMYK color space, it is composed of 16% cyan, 39% magenta, 0% yellow and 70% black.
It has a hue angle of 276o degrees, a saturation of 25% and a lightness of 24%.
Closest websafe color is: #333333 rgb (51, 51, 51).
twitter  facebook  whatsapp


Color conversion




#402E4C
rgb(64,46,76)
=25%
from 255
18%
from 255
30%
from 255
=16
from 100
39
from 100
0
from 100
70
from 100
R: 64
red
G: 46
green
B: 76
blue
C: 16
cyan
M: 39
magenta
Y: 0
yellow
K: 70
black
Hexa colorRGB color chartCMYK color chart

Convert color


The hexadecimal color #402E4C has RGB values of R:64, G:46, B:76 and CMYK values of C:16, M:39, Y:0, K:70. Its decimal value is 4206156.Binary code is 10000000010111001001100
In print we use cyan, yellow, magenta and black (CMYK) inks because usually we print on a white paper.

Hex color402E4C #402E4C
RGB decimal64, 46, 76 rgb(64, 46, 76)
RGB %25, 18, 30 rgb(25%, 18%, 30%)
RGB Adobe62, 50, 76
CMYK %16, 39, 0, 70 16%, 39%, 0%, 70%
HSL276o, 25, 24 hsl(276o, 25%, 24%)
HSV (HSB)276o, 39%, 30% hsv(276o, 39%, 30%)
Web Safe color#333333 rgb (51, 51, 51)
XYZ4.396, 3.566 7.294
xyY0.29, 0.23, 3.57
Hunter-Lab18.88, 9.67, -11.12
CMY75%, 82%, 70%
Lab22.08, 13.48, -15.43
Binary color
40 2E 4C
1000000 101110 1001100

Shades and tints of #402E4C


A shade is achieved by adding black to original color on hue code.
A tint is created by mixing color with white.
Use the palette to pick a color or the sliders to set the RGB, HSV, CMYK components.
For example here: #0C090F is the darkest color, and: #DAD6DC is the lightest one.

Tint color variation #402E4C


Shade color variation


Tones of #402E4C
A tone is produced by adding gray to any pure hue. In this case, #463651 is the less saturated color, and #6A636E is the most saturated one.


Alternatives to #402E4C


Below, you can see some colors close to #402E4C. Having a set of related colors can be useful if you need an inspirational alternative or other close colors to your original color choice.




Quick use #402E4C


How to use this color on webpages, scripts or other programming languages using html, CSS, dhtml, JAVA, .NET, openGL, Swift, Xojo

Color of the text Background color example
Color of the text
Background color example

<font color="#402E4C;">Text here</font>

<div style="background-color:#402E4C;">Text here</div>



Color preview on black background Color preview on white background
color preview on black background
color preview on white background
HTML code

<div style="background-color:#000000"> <font color="#402E4C;">Text here</font> </div>

HTML code

<div style="background-color:#FFFFFF; border: 1px dotted #999999;"> <font color="#402E4C;">Text here</font> </div>



Div box shadow Text shadow css code
box shadow for color #402E4C
text shadow css code
HTML code

<div style="background-color:#FFFFFF; box-shadow: 2px 2px 7px 1px #402E4C;"></div>

CSS code

.box-shadow: 2px 2px 7px 1px;

CSS code

.text-shadow: 1px 2px 2px #402E4C;



Box border html code Text shadow with RGB values for color #402E4C
box border html code for color #402E4C

text shadow with RGB values

HTML code

<div style="background-color:#FFFFFF; border:1px solid #402E4C;"></div>

CSS code with RGB

.text-shadow: 0px 2px 2px rgba(64, 46, 76, 1.4);



Pre-formatted code 402E4C code for script / programming
HTML, CSS: = #402E4C; rgb(64, 46, 76)
Java: = new Color(64, 46, 76)
.NET: = Color.FromArgb (64, 46, 76);
Xojo: = rgb (64, 46, 76, 0);
openGL: = glColor3f (0.25f, 0.18f, 0.3f);
Swift: = UIColor(red:0.25, green:0.18, blue:0.3, alpha:1.00000);
Objective-C: = [UIColor colorWithRed:0.25 green:0.18 blue:0.3 alpha:1.00000];


Color schemes with #402E4C


Monochromatic color
monochromatic color scheme

Monochromatic color schemes are easy to create because they use only one color. Monochromatic schemes use different tones from the same angle on the color wheel (the same angle).Just change color saturation +10% and you have a new monocromatic color. On our case color: 39% has a #402E4C saturation. Adding 39% + 10% = 49% saturation for our new color #1F1426. Decreasing 39% - 10% = 29% saturation for other monochromatic color #655173.

Analogous color
analogous color scheme

Analogous color schemes are created by using colors that are next to each other on the color wheel. Just +/- 30o on sides of the color hue angle.

Complementary color
complementary color scheme
Complementary schemes are created by combining colors from opposite sides of the color wheel. Simple add 180 degrees to color hue / angle and you have the complementary color. On our case color: #402E4C has a 276o angle. Adding 276o + 180o = 96oo for our new complementary color #3B4D2F.

Split color
split color scheme

Compound schemes or split complementary schemens are almost the same as complementary schemes.
Instead of using colors that are opposites, it uses colors on both sides of the opposite hue angle.
On our case color: #402E4C has a 276o angle. Adding 276o + 180o+30o = 126o for our first complementary color #2F4D32. Decreasing 276o + 180o-30o = 66o for the second complementary color #4A4D2F.

Tiradic color
tiradic color scheme

Triadic schemes are made up of hues/angles equally spaced around color wheel. Add and decrease +/- 120 degrees on both sides of the color hue angle.

Tetradic color
tetradic color scheme

Tetradic schemes are made up of hues/angles spaced around color wheel. Add 120,180,300 degrees on the color hue angle.