The bill was proposed after a Los Angeles police officer shot a 13-year-old boy carrying a pellet gun in a park. The boy was paralyzed.
Although the gun — a replica of a Beretta handgun — had an orange tip, it could not be seen because the incident occurred at night, police said.
Los Angeles Police Chief Charlie Beck said the Brownsville shooting appears to be another in a series of incidents that might have been prevented if pellet and BB guns looked different from other weapons.
"Nobody can give me a legitimate downside to this," said Beck, who testified in support of the failed California legislation. "Does it hurt the sport? No. For me, this is just another way to keep folks safer."
The Brownsville shooting unfolded quickly Wednesday just as students were beginning their first-period classes. The boy walked into one room and randomly punched a classmate in the nose.
School staff saw the gun in his crotch and called police. The building was swiftly locked down, and the shots were heard a short time later.
Gonzalez said his son was not a bad kid, an assessment supported by the district superintendent.
The teen was a drum major whose band instructors had recently praised his achievements to his parents, his stepmother Noralva Gonzalez said.
She showed off a photo on her phone of a beaming Jaime in his drum major uniform standing with his band instructors. Then she flipped through three close-up photos she took of bullet wounds in her son's body.
Jaime's father said he didn't know where Jaime got the gun. Police believed it was a gift, and a friend of the boy's, Star Rodriguez, said Jaime told her that. But she didn't know who gave it to him.
His parents said they would never give him a gun.
On Thursday, they waited for authorities to release Jaime's body to a funeral home so they could hold a wake in a church near the family's home. Throughout the day, Jaime's friends stopped by the house to visit his family.
The school was closed Thursday while police finished their crime-scene investigation. Students were bused instead to a new elementary school that was recently completed on the outskirts of Brownsville but had not yet been used.
District spokeswoman Drue Brown said 17 counselors were working with students and staff. Cummings has a student body of about 750, but only 200 students came to classes Thursday.
- Photo gallery: Christmas around the world
- NORAD 'tracks' Santa's journey across globe
- Officer kills armed 18-year-old near Ferguson
- Our six heroes of 2014
- Ex-President George H.W. Bush to stay...
- Final goodbye: A roll call of some who died...
- Blizzard gives Hawaii summits a White Christmas
- CDC monitoring laboratory technician for...
- NYPD: Cop ambush killer told passers-by... 15
- Going it alone, Obama rocked the boat... 13
- Officer kills armed 18-year-old near... 10
- Pope in blistering critique of Vatican... 9
- Key developments in the case of slain... 9
- Killings of 2 New York officers trigger... 6
- Senate, CIA agree torture program was... 6
- Sony announces limited release for 'The... 5