Skip to main content
8 events
when toggle format what by license comment
Jun 10, 2013 at 23:52 vote accept halirutan
Apr 20, 2013 at 23:11 comment added Stefan @halirutan i've always enjoyed to read your answers and as well your questions, but this specific one and your answer knights you. tip of the hat.
Apr 20, 2013 at 10:05 comment added halirutan @cormullion Yes, this is a great idea and I thought about that too, but I think there is some work to be done. When I would use text for this, that I would like to be able to use a real code sample and I would like to be able to specify the color for each keyword/variable/... so get a feeling for the final outcome.
Apr 20, 2013 at 8:06 comment added cormullion +1 This is a nice idea. A suggestion is to have text samples on a background rather than (or as well as) bigger swatches of color - context makes all the difference to color perception, as I see it :)
Apr 20, 2013 at 2:37 comment added halirutan Thanks, I edited it. The code is still the hack I started with, so don't be surprised if you find many more of such things.
Apr 20, 2013 at 2:36 history edited halirutan CC BY-SA 3.0
deleted 30 characters in body
Apr 20, 2013 at 2:34 comment added J. M.'s missing motivation Tiny note: IntegerString[] is listable, and StringJoin[] is sufficiently smart, so: toHtml[rgb_List] := StringJoin[IntegerString[Round[255 rgb], 16, 2]].
Apr 20, 2013 at 2:29 history answered halirutan CC BY-SA 3.0