All RGB colors in one image
joco.name
joco.name
Chromium Version: http://webspekt.de/paintgen-client
node.js Version: http://webspekt.de/paintgen-server
My Server is pretty bad, so when in doubt, don't click.
The set of “all colors” is exactly the same.
(Note, HSL/HSV are not suitable representations for almost any purpose, especially not for human user interfaces; it’s a tragedy that they are in such wide use.)
Actually, that sounds kind of like a fun challenge game: name a color, then try to guess RGB values for that color.
Edit: Actually, so does the “guess the RGB given the colour” direction, but I don’t find it as fun: http://mallory.jemts.com
Yeah, I wrote that. :-)
I too have misgivings about HSV, the discontinuities created when generating hue ramps being particularly cruel. Using a rotation about the luma axis in YCbCr space gives much smoother rainbows but sadly not ones which hit all six primaries and secondaries. It's frustrating problem that perceptually H, S and V or L are what we think of when specifying a colour, but mapping them smoothly to RGB displays is so tough.
The idea is to use the free CoralCDN (http://www.coralcdn.org/). HN could solve site-killing by prefetching every link with CoralCDN, so that the CDN would cache a version of the page. Then, if HN detects that a site (e.g. http://allrgb.com/) is down, it would link to the Coral version (e.g. http://allrgb.com.nyud.net/) until it’s up again. Or alternatively, instead of detecting when sites are down, it could show a control to replace any given link with the CoralCDN version and ask the user to toggle it if the link doesn’t work at first.
Embedded youtube video:
http://i.imgur.com/kae66HY.jpg
('RGB Colorspace Atlas' by Tauba Auerbach)
The OP might consider a more art based context with a potential for high priced prints and gallery showings.
Unfortunately at present there's no single monitor that can show all the pixels of a 4096x4096 image individually...
There was a challenge a friend of mine and I had a while back: take an image, and represent the entire RGB colorspace within that image, without reusing any colors.
It was a REALLY fun challenge, and I encourage everybody to try it as well.
The way that I ended up winning (ha) was to represent the RGB colorspace as a 3D array, and then unravel that 3D array into a 1D skip-list.
The script read the pixel value at (n,n) of the image, "decide" where this would exist if RGB was unraveled into 1D, go that that spot, and then either set the color in the "new" image (if that color was unused) the value in the array, or read the "skip" destination: the place where the closest unused color was located.
I believe this was the site that inspired us: http://allrgb.com
What's fun is that we are so tuned to color differences that a slight change in the algorithm — what color it "resorts to" if the desired one is used — might produce a small absolute difference (distance-wise on the table) but a massive perceptual difference, or create a much greater effect far down the line when greens were exhausted early or unused bright reds are speckling a neutral zone. Certainly an interesting exercise!
(!00% of what a monitor can do, but 35.9% of what the human eye can see - especially greens are lacking.)
Have a look: http://www.skytopia.com/project/illusion/2illusion.html
Given that the RGB image is likely not tagged with colorspace information, the colors represented are a direct byproduct of the primaries of whatever display you view them on.
That is, if your display happened to have the original CIE RGB color primaries, the 3D volume of colors would cover a greater volume.
Of course, this too ignores the "stepping" between colors (bit depth) and also ignores the wider luminance gamut that a standard observer is capable of seeing.
So the slightly more accurate answer to the original question is "Depends on what the primaries are of your display. Typically this is roughly sRGB, but if you are on a wide gamut display or projector, it will be larger."
It's time to move to 48 bit images.
But somewhat related, and I think was on HN at some point: http://corte.si/%2Fposts/code/hilbert/portrait/index.html
implementing it was kind of my new language self challenge, so i ended up putting it in the appstore while learning objective-c:
http://itunes.apple.com/us/app/rgb-petri/id423126001?mt=8&ls...