Created
May 12, 2018 21:58
-
-
Save Unitoi01/c5c40846238528e35041315424bcb8d5 to your computer and use it in GitHub Desktop.
Color Array
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def colorArray(): | |
colArr=[[0 for x in range(3)] for y in range(12)] | |
#these colors are from darkest to lightest skin tone. The number at the end is to tell which value we are considering after sorting | |
#black skin | |
colArr[0]=[117,85,61,0] | |
colArr[1]=[159,136,121,1] | |
#bronze Skin | |
colArr[2]=[156,115,69,2] | |
colArr[3]=[182,157,69,3] | |
#medium brown skin | |
colArr[4]=[196,142,88,4] | |
colArr[5]=[217,181,149,5] | |
#light brown skin | |
colArr[6]=[220,180,119,6] | |
colArr[7]=[236,195,155,7] | |
#cream-colored skin | |
colArr[8]=[230,189,149,8] | |
colArr[9]=[239,210,180,9] | |
#pale skin | |
colArr[10]=[231,207,183,10] | |
colArr[11]=[240,222,205,11] | |
colArr= numpy.asarray(colArr) | |
return colArr |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment