Support any CSS color value for NFT metadata
Closed this issue · 3 comments
vikiival commented
"background_color": {
"type": "string",
"description": "Background color of the item. Must be a six-character hexadecimal without #."
},
Kanaria is using HEX format with #
prefix
The goal of this issue is to support any CSS Color Value (except current color)
With CSS, colors can be specified in different ways:
By color names
As RGB values
As hexadecimal values
As HSL values (CSS3)
As HWB values (CSS4)
Swader commented
From Opensea metadata:
The goal is max compatibility unless absolutely necessary to break. What is the argument for breaking from this?
vikiival commented
What is the argument for breaking from this?
If this is typo on Kanaria side feel free to close
Swader commented
Good catch, that's an invalid background color, so will be ignored by UIs unless they add custom rendering for it.