You are here: PSPad forum > English discussion forum > color selection window: inserting color in hex vs rgb

color selection window: inserting color in hex vs rgb

#1 color selection window: inserting color in hex vs rgb

Posted by: jd | Date: 02/15/2011 02:14 | IP: IP Logged

When you double-click on a color in the Color Selector Window, PSPad inserts the color code into your file. If inside a stylesheet, PSPad inserts RGB format; if inside HTML, it inserts Hex format. Is there a way to control this behavior? (I'd like to use Hex colors inside my stylesheet right now, although that might change in the future if I make greater use of RGBA).

Thanks...

-- jeff

Options: Reply | Quote | Up ^


#2 Re: color selection window: inserting color in hex vs rgb

Posted by: jd | Date: 02/15/2011 02:38 | IP: IP Logged

I just found the option to turn off RGB (Program Settings > Tools).

However, if I try to insert a color that has a name, PSPad uses the name instead of the Hex value. Can I turn that off?

Thanks...

-- Jeff

Options: Reply | Quote | Up ^


#3 Re: color selection window: inserting color in hex vs rgb

Posted by: myf | Date: 02/15/2011 12:23 | IP: IP Logged

Seems it is built-in :| Names of colours are seemingly compiled directly in PSPad.exe and I am not aware of any other config switch influencing paste mode, so I guess it it also hardcoded.
I would vote for external INI with (deletable/extendable) values, including names. It's a pity it is not done this way, while other features (pspad.ini, links.ini, wwwtools.ini, ascii.ini ...) are.

Options: Reply | Quote | Up ^


#4 Re: color selection window: inserting color in hex vs rgb

Posted by: carbonize | Date: 02/16/2011 10:19 | IP: IP Logged

For now you could select the colour name and then open the color translator found under Tools.

--
Carbonize

Options: Reply | Quote | Up ^






Editor PSPad - freeware editor, © 2001 - 2014 Jan Fiala
Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák