If you're running the Bedrock Edition, all you have to do is: Place a sign on the ground. Type the “§” sign, followed by the corresponding number for the color you want. This is the color code.