How to remove case insensitive redundancies in Python lists?

python

Solution

You'll probably want this:

l = list(set(i.lower() for i in l))

Problem

How to remove redundancy in this list: ['#ffffff','#FFFFFF'] I know this is not redundancy but still their value is same as I am dealing with CSS files. Any idea how to do this?

Original source