rmrk-team/rmrk-spec

Support any CSS color value for NFT metadata

Closed this issue · 3 comments

  "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)

From Opensea metadata:

image

The goal is max compatibility unless absolutely necessary to break. What is the argument for breaking from this?

What is the argument for breaking from this?

Kanaria NFT Metadata

If this is typo on Kanaria side feel free to close

Good catch, that's an invalid background color, so will be ignored by UIs unless they add custom rendering for it.