Inkscape.org
Beginners' Questions Decimal rgb values for fill and stroke
  1. #1
    Gabe2004 Gabe2004 @Gabe2004

    When I apply a color to the fill or the stroke, a HEX code will appear in the XML edit section.

    How can I have a DECIMAL representation like this:

    fill:rgb(82,128,200);stroke:rgb(255,0,80);stroke-width:48.6425209;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:normal;fill-opacity:1

    Whenever I enter a decimal value, as soon as I click on the SET button, the values change to HEX.

    Thank you

    Gabe

  2. #2
    Tyler Durden Tyler Durden @TylerDurden

    I'm not sure if Inkscape can do that... maybe an extension that saves the file that way. 

     

    You can place a feature suggestion/wishlist request on the issues list: https://inkscape.org/forums/beyond/how-to-report-bugs-or-request-new-features/

  3. #3
    Gabe2004 Gabe2004 @Gabe2004

    Thank you Tyler.

    I read somewherenthat if one types in an rgb value, Inkscape will keep it.

    I found that if you manipulate data of an svg fike outside of Inkscape, Inkscape will keep the rgb vales you enter but only if Inkscape opens a file that contains the rgb value and not if you enter rgb values within Inkscape.

    So if anyone knows how to edit and maintain rgb value inside Incscape (xml editing), please post an answer here.

    Thank you.

  4. #4
    Hueman Hueman @Hueman

    You could open the .svg file with a text editor, if the areas to be colored are not too many.

  5. #5
    Gabe2004 Gabe2004 @Gabe2004
    *

    Unfortunately there are close to 200 elements.

Inkscape Inkscape.org Inkscape Forum Beginners' Questions Decimal rgb values for fill and stroke