gabrielecirulli / 2048

The source code for 2048

Home Page:https://play2048.co

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

List of RGB values

TayIsAsleep opened this issue · comments

Is there any way to get a list with all the color values the game uses, or the way it calculates the next color? I am learning coding and im trying to recreate this game for myself.
Any help is appreciated.

I think i just found another clone with rgb values, but id still like the official if its possible
(https://github.com/gn03249822/Game-2048/blob/master/Gui2048.java)

Hi! The game colors are in the main.css file. Just scroll down to lines in the 300's, and you'll see the "tile-tile-2" things. Then, it shows a hex code for every tile, and you can convert it to rgb.