Velvet Star Monitor

Standout celebrity highlights with iconic style.

general

How do I input color values into the Adobe color picker in hexadecimal?

Writer Emily Wong

I have some C# code (though it could be any language) and I am trying to copy the colors used therein into an Illustrator design.

Here's the code:

private static readonly Dictionary<string, SolidColorBrush> _DefaultModeColours = new Dictionary<string, SolidColorBrush>
{ { "null", new SolidColorBrush(Color.FromArgb(0xFF, 0x00, 0x00, 0x00)) }, { "lean-back", new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0x69, 0xB4)) }, { "respite", new SolidColorBrush(Color.FromArgb(0xFF, 0xDB, 0x00, 0x00)) }, { "purposeful", new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0x00)) }, { "opportunistic", new SolidColorBrush(Color.FromArgb(0xFF, 0x0C, 0x06, 0x40)) }, { "orienting", new SolidColorBrush(Color.FromArgb(0xFF, 0x92, 0xBC, 0xE5)) }
};

The colors are specified using hexadecimal numbers for the ARGB values. In Illustrator I have the following color chooser:

Adobe color picker and error message

I could fire up a calculator and convert each of the (nonobvious) hex values into decimal, but I imagine there is an easy way to change the Illustrator settings for the document to use hex values. Is there? If so where do I set it?

1 Answer

You double click the fill or the stroke from the left side menu. Then you can input the hex.

enter image description here

Then you will see a popup exactly like Photoshop

enter image description here

You can then type in the Hex number (by the # symbol).

Source

3

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy