antiantisepticeye / vscode-color-picker

let's you use vscode's css color picker in other documents
45 stars 14 forks source link

Support Haskell-style function syntax #3

Open georgefst opened 2 years ago

georgefst commented 2 years ago

Seeing as this extension is for languages which don't have native colour support from VSCode, it would make sense to support some less-common syntaxes.

In the languages I frequently use (Haskell, Elm, Dhall...), I might represent medium-gray, for example, depending on the context, as any of:

rgb 127 127 127
rgb 0.5 0.5 0.5
rgba 127 127 127 0.0
rgba 0.5 0.5 0.5 0.0
RGB 127 127 127
RGB 0.5 0.5 0.5
RGBA 127 127 127 0.0
RGBA 0.5 0.5 0.5 0.0

Would you be interested in supporting these?