A little wish - input colours as hex value

Features wanted...
Post Reply
lukescammell
Posts: 744
Joined: 28 Jul 2006 13:15
Location: Kent, UK
Contact:

A little wish - input colours as hex value

Post by lukescammell »

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?
Used to update to the latest beta every day. Now I have children instead…
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:

Post by j_c_hallgren »

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.

jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

Post by jacky »

Actually, I beleive this is only for Color Filters, the Interface colors aren't saved as hex (HTML like) in the INI
Proud XYplorer Fanatic

j_c_hallgren
XY Blog Master
Posts: 5826
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Post by j_c_hallgren »

Jacky, yes...you're correct! :oops: 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.

lukescammell
Posts: 744
Joined: 28 Jul 2006 13:15
Location: Kent, UK
Contact:

Post by lukescammell »

So do either of you think this is a worthy addition, or am I just going off on one again?
Used to update to the latest beta every day. Now I have children instead…
Windows 10 Pro x64 (everywhere except phone…)

admin
Site Admin
Posts: 66279
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: A little wish - input colours as hex value

Post by admin »

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.
Three numbers? It's one 32-bit number.

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.

surrender
Posts: 623
Joined: 23 Oct 2005 08:53
Location: Berlin, Germany

Post by surrender »

I love colors myself, but it would not add any more functionality to XY than what it is now. So, its not a great deal for me personally.

lukescammell
Posts: 744
Joined: 28 Jul 2006 13:15
Location: Kent, UK
Contact:

Re: A little wish - input colours as hex value

Post by lukescammell »

admin wrote:Three numbers? It's one 32-bit number.
PS: you were talking about viewing/editing the INI, right?
Three numbers:
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.
admin wrote:But I agree with your wish. To retain back compatibility I suggest to prefix hex RGB values with # just as in CSS. Okay?
Makes a lot of sense to me :)
Used to update to the latest beta every day. Now I have children instead…
Windows 10 Pro x64 (everywhere except phone…)

admin
Site Admin
Posts: 66279
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: A little wish - input colours as hex value

Post by admin »

lukescammell wrote:
admin wrote:Three numbers? It's one 32-bit number.
PS: you were talking about viewing/editing the INI, right?
Three numbers:
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.
admin wrote:But I agree with your wish. To retain back compatibility I suggest to prefix hex RGB values with # just as in CSS. Okay?
Makes a lot of sense to me :)
Oh big confusion... forget everything I said and look at what I did in the next version :D

lukescammell
Posts: 744
Joined: 28 Jul 2006 13:15
Location: Kent, UK
Contact:

Post by lukescammell »

/me heads over to the Beta downloads section...
Used to update to the latest beta every day. Now I have children instead…
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:

Post by j_c_hallgren »

Reactivating this old thread as it seems to apply to my current thought:
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 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.
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.

graham
Posts: 457
Joined: 24 Aug 2007 22:08
Location: Isle of Man

Post by graham »

Oh big confusion... forget everything I said and look at what I did in the next version
Oh no, after I decided to see your colour choice and did the conversion to decimal - make them suffer I say

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!

Post Reply