Inkscape.org
Beginners' Questions How to match a color from an already existing .png file.
  1. #1
    ILikeArt ILikeArt @ILikeArt
    *

    I have a png file named "Tab.png" (Image attached). I created this image a few weeks ago, and exported it to a png file. The color of this image is perfect. Unfortunately I forgot to save the file as an inkscape file (.svg)

    I need to create a similar image, and need the very same coloring that is saved on the "Tab.png" file. I opened the Tab.png file in Inkscape and used my eye dropper tool to grab the color from Tab.png,

    I then use the Bucket tool to color in my new image (Jut call it image2 for now). Unfortunately I am not able to get the exact color from the original .png file. Can someone help me? I how do I get the exact color from the original image???

    It almost seems like maybe the color wheel layers of the image H,S,L,A are off or something? If someone can help me I would appreciate it, having burned 1.5 hours already on trying to reproduce the original color.

    Attached is the image Tab.png.

     

    Tab
  2. #2
    dwhall dwhall @dwhall

    Possibly because the png is semi-transparent the color from the picker will depend on what colored objects are behind the png.

    Ensure the png is on a white background.

  3. #3
    ILikeArt ILikeArt @ILikeArt

    The png IS already on a darker colored green background and it looks great ! 

    Are you telling me to create a white image and then place that white image under my original image? (And maybe grouping them together)?

    As I said in my post, I am not able to duplicate the exact color of the original image.

  4. #4
    Paddy_CAD Paddy_CAD @Paddy_CAD
    👍

    The Dropper tool has two options in the tool controls bar that change how colours are generated.

    [Pick]+[Assign] copies the base colour and opacity (RGB and alpha).
    [Pick] copies the base colour and discards opacity (RGB only)
    [none] copies the rendered colour as solid

  5. #5
    Tyler Durden Tyler Durden @TylerDurden

    From the Manual:

    • Pick opacity disabled:  The color picked is as shown on the screen. For example, picking the color from an object with a dark blue fill but an opacity of 50% would result in a light blue color with an opacity of 100%. Opacity of set object not changed.

    • Pick opacity enabled, Assign alpha disabled:  The color picked is the color that the object would have if its opacity was 100%. A dark blue object with an opacity of 50% would result in a dark blue color (an opacity of 100%). Opacity of set object not changed.

    • Pick opacity enabled, Assign opacity enabled:  The color and opacity are both copied from the picked object. A dark blue object with an opacity of 50% would result in a light blue color composed of a dark blue fill with an opacity of 50%. Opacity of set object changed. Note: This is only applicable if the color is picked from an object with transparency that is not over another object.

    http://tavmjong.free.fr/INKSCAPE/MANUAL/html/Attributes-Fill-Stroke.html#Attributes-Color-Dropper

  6. #6
    ILikeArt ILikeArt @ILikeArt
    👍

    Wow thanks to all of the brilliant people on this forum, happy Friday to all of you, thanks so much for your help!!

Inkscape Inkscape.org Inkscape Forum Beginners' Questions How to match a color from an already existing .png file.