Generating a random skin tone (SOLVED)

This is not really that difficult, but I thought I might ask in case someone else has already figured this in the past to save some time and effort.

I’ve got a sprite of a guy where I kept the skin colour white (+ shading) and I want set the tint to a random skin colour. Basically any colour that doesn’t look out of place on a generic human.

Like I said, I can figure the acceptable colour ranges myself - I don’t want you to take the time to do this for me, but since this sounds like something that comes up in all kinds of projects, maybe there’s a resource already which I could use. Thanks!

1 Like

Some_skin_colors
Take the values in the link and put them in an indexed table?

2 Likes

Ah, I’ve found this site and a couple of similar ones, but I was more looking for a full range, not just a couple of preset values.

Though now that I think of it, it might be best to just pick a couple and move on. Deadline’s getting too close for comfort.

1 Like

Interesting small formula in this thread.
Color Ranges

3 Likes

That’s exactly what I was hoping for! Well, assuming the numbers are correct, but I have no reason to doubt that. Thanks!

1 Like