My question involves landlord-tenant law in the State of: California

Have been in apartment 11 years. I asked to paint some walls. All wall throughout are stark white now as thy were when I moved in. Was told that I could paint them any way I wanted, but would have to paint them back to white before I left. Is this true?