SandDance
SandDance copied to clipboard
The Direct color option is disabled and I have data with hex colors
I have data with a hex value but the option to use direct color is disabled.


Does the Column Types dialog show that it Is Color Data?
It is not listed there and it is not in every row - some values do not have an Avatar color column.
I think null values may cause the column to invalidate as color. Can you populate a default color value in your data?
I populated with default values and see them in the column types:

but the direct color option is still disabled:

Looks like #RRGGBB formats are being parsed as date types 🤨
I'll keep digging on that issue. Workaround for now would be to use rgb(rr,gg,bb) format.
Once it's enabled it will appear in the menu under a Direct Color heading:

Not sure if this is related:
I have #rrggbb colors and they are detected as direct color "field csscolor contains direct color", but are read / displayed wrong. The RGB values are mapped to XYZ and the plot is colored by csscolor (#rrggbb). The plot should have a smooth color gradient:
Here is the .csv
Same data in plotly:

Tell me when I should open a new issue...
@HorstBaerbel can you provide a repro case?
@HorstBaerbel can you provide a repro case?
It's a bit on the big side, but I hope it helps: colorfit_objects.csv
@danmarshall The color error has not been fixed for me. csscolor is still wrong (same as last two images and can repo it with the casv). Should I open a new issue?
@HorstBaerbel - I've just reopened this issue. It would help if we could get a smaller dataset which repro's the error.