A little wish - input colours as hex value
-
lukescammell
- Posts: 744
- Joined: 28 Jul 2006 13:15
- Location: Kent, UK
- Contact:
A little wish - input colours as hex value
What with all my wishes for the interface colour management, I think it would be great to have the option to input colours as a hex value (eg. #ff6500). It's quicker to copy and paste hex values fro programs such as Photoshop (designers), or even website CSS files (web devs) than to have to type in three numbers for the RGB values each time.
Views?
Views?
Used to update to the latest beta every day. Now I have children instead…
Windows 10 Pro x64 (everywhere except phone…)
Windows 10 Pro x64 (everywhere except phone…)
-
j_c_hallgren
- XY Blog Master
- Posts: 5826
- Joined: 02 Jan 2006 19:34
- Location: So. Chatham MA/Clearwater FL
- Contact:
You'll just have to edit the INI file directly as shown in last item of box in http://88.191.26.34/XYwiki/index.php/Co ... ion#Colors.
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.
-
jacky
- XYwiki Master
- Posts: 3106
- Joined: 23 Aug 2005 22:25
- Location: France
- Contact:
-
j_c_hallgren
- XY Blog Master
- Posts: 5826
- Joined: 02 Jan 2006 19:34
- Location: So. Chatham MA/Clearwater FL
- Contact:
Jacky, yes...you're correct!
I read and replied to it a bit too quickly...I thought I'd seen it there so memory fails me again...
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.
-
lukescammell
- Posts: 744
- Joined: 28 Jul 2006 13:15
- Location: Kent, UK
- Contact:
-
admin
- Site Admin
- Posts: 66269
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: A little wish - input colours as hex value
Three numbers? It's one 32-bit number.lukescammell wrote:What with all my wishes for the interface colour management, I think it would be great to have the option to input colours as a hex value (eg. #ff6500). It's quicker to copy and paste hex values fro programs such as Photoshop (designers), or even website CSS files (web devs) than to have to type in three numbers for the RGB values each time.
But I agree with your wish. To retain back compatibility I suggest to prefix hex RGB values with # just as in CSS. Okay?
PS: you were talking about viewing/editing the INI, right?
Last edited by admin on 07 Nov 2006 17:50, edited 1 time in total.
-
lukescammell
- Posts: 744
- Joined: 28 Jul 2006 13:15
- Location: Kent, UK
- Contact:
Re: A little wish - input colours as hex value
Three numbers:admin wrote:Three numbers? It's one 32-bit number.
PS: you were talking about viewing/editing the INI, right?
1.) Red Value
2.) Green Value
3.) Blue Value
But no, I was talking about the colour picker interface which is used all over the place. Currently you have to input the red, then green, then blue values into three separate boxes. If you just have a single hex value box then you can do a simple paste into one box which is a whole lot quicker.
Makes a lot of sense to meadmin wrote:But I agree with your wish. To retain back compatibility I suggest to prefix hex RGB values with # just as in CSS. Okay?
Used to update to the latest beta every day. Now I have children instead…
Windows 10 Pro x64 (everywhere except phone…)
Windows 10 Pro x64 (everywhere except phone…)
-
admin
- Site Admin
- Posts: 66269
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: A little wish - input colours as hex value
Oh big confusion... forget everything I said and look at what I did in the next versionlukescammell wrote:Three numbers:admin wrote:Three numbers? It's one 32-bit number.
PS: you were talking about viewing/editing the INI, right?
1.) Red Value
2.) Green Value
3.) Blue Value
But no, I was talking about the colour picker interface which is used all over the place. Currently you have to input the red, then green, then blue values into three separate boxes. If you just have a single hex value box then you can do a simple paste into one box which is a whole lot quicker.
Makes a lot of sense to meadmin wrote:But I agree with your wish. To retain back compatibility I suggest to prefix hex RGB values with # just as in CSS. Okay?
-
lukescammell
- Posts: 744
- Joined: 28 Jul 2006 13:15
- Location: Kent, UK
- Contact:
-
j_c_hallgren
- XY Blog Master
- Posts: 5826
- Joined: 02 Jan 2006 19:34
- Location: So. Chatham MA/Clearwater FL
- Contact:
Reactivating this old thread as it seems to apply to my current thought:
Based on this:It occurs to me that there is no easy way via Cofig interface to see (and set) what hex values are used for each filter, as one can do in Interface colors, thus there is now an inconsistent method that is used.
It was because of seeing these values in release notes that I wondered what values I had defined..and yes, of course, I can go to INI file and view/set them there, but having that ability via Config would make it more user friendly..
So maybe a second/third column where the color/hex values can be seen/modifed as in the other dialog would be a solution? I might still possibly leave the Recolor botton, but if they can be clicked on to invoke color picker, that would eliminate need...
BTW, I agree you'd not want to activate them for new users, but having them defined makes understanding what they do and how they can be used simpler also.
Based on this:
Code: Select all
+ From now on, fresh installations will come with some Default Color Filters. Works as a visual appetizer and as a practical example for how to do it. These are the pre-installed filters:
[ColorFilter]
Count=9
1=+/s>FF0000
2=+/d>5E738C
3=+*.png;*.jpg;*.gif>933968
4=+*.exe;*.bat>D24257
5=+*.htm*;*.mht;*.php>4287D2
6=+*.txt;*.ini>38A050
7=+*.zip;*.rar>CC6600
8=+*.dll;*.ocx>7800F0
9=+*.mp3>FF8000
They do not come activated though. I'm still unsure whether that might be a shock for newbies... ;)
It was because of seeing these values in release notes that I wondered what values I had defined..and yes, of course, I can go to INI file and view/set them there, but having that ability via Config would make it more user friendly..
So maybe a second/third column where the color/hex values can be seen/modifed as in the other dialog would be a solution? I might still possibly leave the Recolor botton, but if they can be clicked on to invoke color picker, that would eliminate need...
BTW, I agree you'd not want to activate them for new users, but having them defined makes understanding what they do and how they can be used simpler also.
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.
-
graham
- Posts: 457
- Joined: 24 Aug 2007 22:08
- Location: Isle of Man
Oh no, after I decided to see your colour choice and did the conversion to decimal - make them suffer I sayOh big confusion... forget everything I said and look at what I did in the next version
But, you colours are much improved on the ones I had and now permanent.
For selected rows I much prefer E4E4E4 - eye sight failing as well!
XYplorer Beta Club