[Answered ]-Colorful.core.ColorfulError: the color "default" is unknown. Use a color in your color palette (by default: X11 rgb.txt)

2πŸ‘

βœ…

After a lot of trials, I finally resolved it.

The problem was that I have installed colorful with pip install colorful.

I used pip install django-colorful instead and everything worked great

πŸ‘€M. Dhaouadi

0πŸ‘

#0000 is not a valid color tag.

color = RGBColorField(default="#000") 

or

color1 = RGBColorField(colors=['#FF0000', '#00FF00', '#0000FF'])

color2 = RGBColorField(colors='#333,#ff00FF')
πŸ‘€Reza

Leave a comment