Page 1 of 1
A little wish - input colours as hex value
Posted: 07 Nov 2006 17:09
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?
Posted: 07 Nov 2006 17:13
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.
Posted: 07 Nov 2006 17:18
by jacky
Actually, I beleive this is only for Color Filters, the Interface colors aren't saved as hex (HTML like) in the INI
Posted: 07 Nov 2006 17:21
by j_c_hallgren
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...
Posted: 07 Nov 2006 17:41
by lukescammell
So do either of you think this is a worthy addition, or am I just going off on one again?
Re: A little wish - input colours as hex value
Posted: 07 Nov 2006 17:45
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?
Posted: 07 Nov 2006 17:46
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.
Re: A little wish - input colours as hex value
Posted: 08 Nov 2006 10:42
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

Re: A little wish - input colours as hex value
Posted: 08 Nov 2006 10:47
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

Posted: 08 Nov 2006 10:48
by lukescammell
/me heads over to the Beta downloads section...
Posted: 15 Sep 2007 19:50
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.
Posted: 15 Sep 2007 20:41
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!