11

How to select web colors in Inkscape? I know that I can select the ">" at the bottom-right of the screen and select WebHex and then select one in the bar. But in that bar there are just a few colors. How to select a color that is not in the bar? is there a way to put the color in numbers?

For instance, if I have a square, I select it and I want to give it the color #666666

15

You need to use the Fill and Stroke window. This gives you more control over assign color to a stroke (the "outline" of an object), the fill (the inside of it), and what the stroke looks like (thickness, dashed vs solid, etc)

  1. Select the object that you want to assign a color to.
  2. Click Object > Fill and Stroke Ctrl+Shift+F
  3. On the Fill tab, change the color as needed.

Since you want to assign a specific hex color, enter it into the RGBA box (don't include the #). Note that this is RGBA, not RGB--the extra two characters on the end represent opacity (ff being solid; 00 being fully transparent). So to assign #666666, you would want to enter #666666ff

| improve this answer | |
  • This is estrange, I have to put a hex color in the RGBA box? So, why is this box called RGBA by Inkscape? – Nrc Aug 26 '15 at 11:24
  • 5
    It is technically correct. What people usually call a "hex color" is an RGB value converted to hex--it's still an RGB color. For example, your #666666 is really rgb(102,102,102) converted from decimal to hexadecimal. Hex colors are still in RGB. In Inkscape, the team probably decided that "RGBA" easier to understand since it includes the alpha channel as well. – Scribblemacher Aug 26 '15 at 11:43
  • It is simple a bad design from Inkscape. That's the difference with a proper software like Illustrator. Here things are unexpected and complicated – Alvaro Apr 13 '16 at 15:02
  • 2
    So let me understand Alvaro, if someone puts something different in their development than in the software you use, it means its improper software? Maybe instead of saying its bad design, you could think it makes the alpha more accessible. Maybe its just you are not used to think if everything is not friendly – zardilior Jul 2 '16 at 17:06
-1

Zardilior, no, it's about giving us options. Almost all programs allow you to use either HEX or RGB/RGBA. Inkscape leaving out a proper HEX option is silly.

| improve this answer | |
  • 2
    As you can see in my answer, this is not true. You can enter RGB colors in hexidecimal form in Inkscape. – Scribblemacher Sep 29 '16 at 19:21

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.