:
logo qtransform

  to  




#400152 color HEX code RGB, HSL, CMYK

COLOR CODE FOR HEXA COLOR #400152
#400152

   In a RGB color space, hex #400152 is composed of 25% red, 0% green and 32% blue.
RGB color code is composed of a hexadecimal 40 red (64/255), a 01 green (1/255) and a 52 blue component (82/255). The decimal RGB color code is rgb(64,1,82)
In CMYK color space, it is composed of 22% cyan, 99% magenta, 0% yellow and 68% black.
It has a hue angle of 286.67o degrees, a saturation of 98% and a lightness of 16%.
Closest websafe color is: #330066 rgb (51, 0, 102).
twitter  facebook  whatsapp


Color conversion




#400152
rgb(64,1,82)
=25%
from 255
0%
from 255
32%
from 255
=22
from 100
99
from 100
0
from 100
68
from 100
R: 64
red
G: 1
green
B: 82
blue
C: 22
cyan
M: 99
magenta
Y: 0
yellow
K: 68
black
Hexa colorRGB color chartCMYK color chart

Convert color


The hexadecimal color #400152 has RGB values of R:64, G:1, B:82 and CMYK values of C:22, M:99, Y:0, K:68. Its decimal value is 4194642.Binary code is 10000000000000101010010
In print we use cyan, yellow, magenta and black (CMYK) inks because usually we print on a white paper.

Hex color400152 #400152
RGB decimal64, 1, 82 rgb(64, 1, 82)
RGB %25, 0, 32 rgb(25%, 0%, 32%)
RGB Adobe57, 6, 81
CMYK %22, 99, 0, 68 22%, 99%, 0%, 68%
HSL286.67o, 98, 16 hsl(286.67o, 98%, 16%)
HSV (HSB)287o, 99%, 32% hsv(287o, 99%, 32%)
Web Safe color#330066 rgb (51, 0, 102)
XYZ3.648, 1.721 8.123
xyY0.27, 0.13, 1.72
Hunter-Lab13.12, 27.81, -29.33
CMY75%, 100%, 68%
Lab13.67, 36.93, -32.78
Binary color
40 01 52
1000000 1 1010010

Shades and tints of #400152


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: #0C0110 is the darkest color, and: #DACDDD is the lightest one.

Tint color variation #400152


Shade color variation


Tones of #400152
A tone is produced by adding gray to any pure hue. In this case, #460E57 is the less saturated color, and #6A5470 is the most saturated one.


Alternatives to #400152


Below, you can see some colors close to #400152. 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 #400152


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="#400152;">Text here</font>

<div style="background-color:#400152;">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="#400152;">Text here</font> </div>

HTML code

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



Div box shadow Text shadow css code
box shadow for color #400152
text shadow css code
HTML code

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

CSS code

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

CSS code

.text-shadow: 1px 2px 2px #400152;



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

text shadow with RGB values

HTML code

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

CSS code with RGB

.text-shadow: 0px 2px 2px rgba(64, 1, 82, 1.4);



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


Color schemes with #400152


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: 99% has a #400152 saturation. Adding 99% + 10% = 100% saturation for our new color #22002B. Decreasing 99% - 10% = 89% saturation for other monochromatic color #610D78.

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: #400152 has a 287o angle. Adding 287o + 180o = 107oo for our new complementary color #125201.

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: #400152 has a 287o angle. Adding 287o + 180o+30o = 137o for our first complementary color #015218. Decreasing 287o + 180o-30o = 77o for the second complementary color #3B5201.

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.