Painted stone: asteroids in the Sloan Digital Sky Survey