3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Princess Peach Pointillism

Step 2Color Selection

Color Selection
«
  • IMG_2483.JPG
  • IMG_2485.JPG
I used some Perl code and ImageMagick to extract the color pallet from the image. For each color in the pallet, I assigned a simplified hexadecimal code:

$cc{"000000"} = "0"; 000000 = 237
$cc{"A85000"} = "1"; A85000 = 6
$cc{"B81018"} = "2"; B81018 = 5
$cc{"D03850"} = "3"; D03850 = 32
$cc{"E86000"} = "4"; E86000 = 47
$cc{"E86050"} = "5"; E86050 = 8
$cc{"E08030"} = "6"; E08030 = 3
$cc{"E88090"} = "7"; E88090 = 29
$cc{"F09058"} = "8"; F09058 = 42
$cc{"F0C830"} = "9"; F0C830 = 9
$cc{"F8A800"} = "A"; F8A800 = 117
$cc{"F8B0D0"} = "B"; F8B0D0 = 40
$cc{"F8B880"} = "C"; F8B880 = 23
$cc{"F8F030"} = "D"; F8F030 = 60
$cc{"F8F8F8"} = "E"; F8F8F8 = 35
$cc{"FFFFFF"} = "F"; FFFFFF = 387

Total = 1080

The program output above shows the color code in hex, its assigned simplified code, and the number of times that particular pixel appears in the image.

I then created a pallet chart and printed it out. When mixing colors, I would first test them against the palette. For me, mixing a large amount of the same color was challenging.



« Previous StepDownload PDFView All StepsNext Step »
1 comment
Oct 4, 2010. 5:29 PMSlicerr2 says:
does any one know where i can just paste my image in and get a layout like in step 4
Feb 3, 2011. 9:00 PMYolksterXD says:
This is how i did it with Gimp (and im a total noob too so it took me a while to figure it out):
Paste image into Gimp
Image -> Mode -> Indenxed (dont change the options) -> ok
Windows-> Dockable Dialogues -> Colormap
Windows -> Docable Dialogues-> Histogram

The number of the color on Colormap (ex: color index "x") is equal to "x,x" on the Histogram left and right boxes

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
8
Followers
6
Author:skeplin(Sanity With Five Kids)
Programmer, mad scientist, tinkerer, father of five!