floork
floork

Reputation: 73

Visual Studio Code Ignore Invalid color format

In my VS Code settings.json, I have a few lines for the TODO Tree extension and they want me to use rgb or hex codes but my VS Code highlights me them with this error.

It works but it bothers me to see these "error" lines.

Can somebody tell me how to disable them or how to write it so that they don't show up.

Error:

Invalid color format. Use #RGB, #RGBA, #RRGGBB or #RRGGBBAA

I haven't really tried anything because I don't know what to use.

Upvotes: 1

Views: 536

Answers (1)

floork
floork

Reputation: 73

Answer: use the hex format and not the rgb.

Upvotes: 0

Related Questions