I wrote a little script to produce 100-odd colors at regular intervals (iterating from 0 to 255 by 64s I think), since I couldn't find any charts of standard colors that were spelled out in RGB.
I have in mind to take a useful looking subset of these (32 or 64 of the best looking ones), give them names that don't have anything to do with musical instruments, and put them in the default autoload.rg, because I've been annoyed with the current naming scheme for a long time, and also want to see a wider variety of default colors to choose from (because the new color maker stuff really sucks to use, but I'm not unhappy enough to actually do something about it.) The script shoots out XML that I can paste right in, but the colors are ordered stupidly. I'd like to come up with some clever, hands-off way to re-order them so that I can produce a series of color variations that make some kind of logical sense. Here's some of the output (the initial name is just based on the lamest attempt to determine which of the three parts is strongest, and I will probably go back and come up with something better for each of these one by one): <colourpair id="1" name=" 1" red="16" green="16" blue="16"/> <colourpair id="2" name="blue 2" red="16" green="16" blue="80"/> <colourpair id="3" name="blue 3" red="16" green="16" blue="144"/> <colourpair id="4" name="blue 4" red="16" green="16" blue="208"/> <colourpair id="5" name="blue 5" red="16" green="16" blue="255"/> <colourpair id="6" name="green 6" red="16" green="80" blue="16"/> <colourpair id="7" name="green 7" red="16" green="80" blue="80"/> <colourpair id="8" name="blue 8" red="16" green="80" blue="144"/> <colourpair id="9" name="blue 9" red="16" green="80" blue="208"/> <colourpair id="10" name="blue 10" red="16" green="80" blue="255"/> It would be much more useful if I could get the script that produces this XML to sort the colors as it goes, but I don't have any brilliant ideas. Maybe I could rewrite the whole thing in C++ and use some KDE class? It doesn't feel worth spending that much time just to produce a few lines of XML though. I'd probably get to the ultimate result faster just using the crappy color maker and doing it all within Rosegarden. I probably could have gotten there already, but isn't Linux all about spending hours to save yourself minutes, just because you can automate everything if you try hard enough? :) -- Michael McIntyre ---- Silvan <[EMAIL PROTECTED]> Linux fanatic, and certified Geek; registered Linux user #243621 http://www.geocities.com/Paris/Rue/5407/ http://rosegarden.sourceforge.net/tutorial/ ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Rosegarden-devel mailing list [email protected] - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-devel
