Compounds that when mixed with thermoplastic resin selectively absorb ultraviolet rays protecting the resins from ultraviolet attack.