Hi!
Is there an easy way to pic a color and copy it to the Clipboard for pasting it in HTML code? Just like the "Copy Color Hex Code" in Photoshop.
In XnView I've found "View / Display Color Information" but I don't know how to copy an HTML color code to the Clipboard.
How to pick a color for pasting it in HTML code
Moderators: XnTriq, helmut, xnview
Re: How to pic a color for pasting it in HTML code
so copy the current shown color from 'Display Color Information' in clipboard?
Pierre.
Re: How to pic a color for pasting it in HTML code
Yesxnview wrote:so copy the current shown color from 'Display Color Information' in clipboard?
- Option for Hex (#ffffff) vs. RGB (rgb(255,255,255)) format
- Preview in tooltip
Re: How to pic a color for pasting it in HTML code
So how to copy it? A left click?XnTriq wrote:Yesxnview wrote:so copy the current shown color from 'Display Color Information' in clipboard?
Pierre.
Re: How to pic a color for pasting it in HTML code
Left and right mouse buttons (without modifier key) are already used for Make selection or Move picture in XnView (Tools → Options... → Keyboard/Mouse → Mouse).xnview wrote:So how to copy it? A left click?
Disabling Make selection and Move picture when Display Colour Information is active would cause problems with the following INI tweak, I guess:
Many image editors allow the user to constrain the selection ratio to 1:1 (square/circle vs. rectangle/ellipse) with Shift+LMB. In Phototshop, Shift+Alt+LMB centers the selection around the point where you first clicked (in addition to constraining the selection to a square or circle). Ctrl+LMB and Alt+LMB are often used for adding or subtracting to a selection.XnView Wiki (UI-less Settings → [url=http://www.xnview.com/wiki/index.php/UI-less_Settings#View]View[/url] → ColorInfo) wrote:Changes the behavior of the color information tool.
Value: Integer, default value is 0
- 0 Show only for the currently viewed image.
1 Show also for the previous¦next file to view.
2 Show between sessions.
I'm fully aware that XnView isn't meant to be an editor, but in case Pierre decides to expand the cropping functionality, these modifier keys should still be available, IMO.
So, how about Ctrl+RMB?
Re: How to pic a color for pasting it in HTML code
I'm sorry for awakening an old thread, but I just wanted to reconfirm that such functionality could come very handy for various people, web designers and developers in particular.
this pop-up box isn't very helpful to be honest, as it's not possible to copy the values. As an option, you could consider freezing the pop-up box after cursor is hovering above it, so the user could copy the values. Or could go even further and add a more sophisticated pop-up window with zoomed-in pixels under the cursor, color pallete, color code in rgb and hex format etc. Something similar to this .
Just a suggestion from a long time user
Re: How to pic a color for pasting it in HTML code
The colour picker (View >> Show colour information) has been introduced a long time a go. From my point of view there is little real use of the way it works as it is because it doesn't support a standard use case.
I guess most people will activate "Show colour information" in order to get to know a specific colour value of the image and then want to exit that mode and use the colour information in some way (e.g. insert it in HTML editor, a document, or similar). ATM, this use case isn't supported well and I wonder how this could be improved.
Perhaps the current, pretty special behaviour of "Show colour information" could become more standard with setting like this: These above setting would allow for supporting both existing behaviour and introducing a new, more common behaviour which is starting a temporary colour pick mode and exit this mode as soon as you click with the mouse. By default, the new behaviour should be supported because it supports better the standard use case.
Just my 2cents... ...more ideas and comments are welcome...
I guess most people will activate "Show colour information" in order to get to know a specific colour value of the image and then want to exit that mode and use the colour information in some way (e.g. insert it in HTML editor, a document, or similar). ATM, this use case isn't supported well and I wonder how this could be improved.
Perhaps the current, pretty special behaviour of "Show colour information" could become more standard with setting like this: These above setting would allow for supporting both existing behaviour and introducing a new, more common behaviour which is starting a temporary colour pick mode and exit this mode as soon as you click with the mouse. By default, the new behaviour should be supported because it supports better the standard use case.
Just my 2cents... ...more ideas and comments are welcome...