Visible light communications is a relatively new communications technology for communicating within indoor environments where the same LED used to provide lighting is used to also convey information to room occupants. This communication must be done under the constraint of no intensity flicker and no color shift in providing concurrent room illumination. The presentation will discuss how constraint codes based on finite state machines can be designed fulfilling the no flicker and no color-shift constraints while also providing a coding gain.