Checking screen colors

Is there any way to check visitor’s screen colors (32/16) with AS or JavaScript?