Provide colors for the given document.
The document in which the command was invoked.
A cancellation token.
An array of color information or a thenable that resolves to such. The lack of a result
can be signaled by returning undefined, null, or an empty array.
Provide representations for a color.
The color to show and insert.
A context object with additional information
The text document that contains the color
The range in the document where the color is located.
A cancellation token.
An array of color presentations or a thenable that resolves to such. The lack of a result
can be signaled by returning undefined, null, or an empty array.
The document color provider defines the contract between extensions and feature of picking and modifying colors in the editor.