VS Code Extensions
Unity Colors Picker

Unity Colors Picker

by BananaDev2000

A simple tool that adds the Visual Studio Code color picker to recognize Unity Color values and give the ability to pick a color easier from inside of C# code.

Downloads

16

Rating

— (0)

Version

0.0.12

Last updated

May 25, 2026

Adds proper color picker support for Unity Color, Color32, named colors, and Unity HTML hex colors directly inside C# scripts. This tool was made using AI, please feel free to correct or clean up anything you want :)

Features

Supports:

new Color(1f, 0f, 0f, 1f)

new Color32(255, 120, 0, 255)

Color.red

Color.green

ColorUtility.TryParseHtmlString("#FF9900", out Color color);

The extension automatically:

  • Detects Unity color constructors
  • Shows inline color preview squares
  • Opens VS Code's built-in color picker
  • Updates values directly in code

Examples

Color

Color playerColor = new Color(0.2f, 0.8f, 1f, 1f);

Color32

Color32 enemyColor = new Color32(255, 80, 80, 255);

Named Colors

Color uiColor = Color.red;

Unity Hex Colors

ColorUtility.TryParseHtmlString("#FF9900", out Color color);

Installation

Install directly from the VS Code Marketplace.

Or manually install the .vsix package: Download the latest .vsix package under releases here.

  1. Open Extensions
  2. Click ...
  3. Select Install from VSIX...

Known Limitations

Currently supports:

  • Color values between 0-1 new Color(...)
  • RGB color values between 0-255 new Color32(...)
  • Unity named colors Color.red
  • Hex colors ColorUtility.TryParseHtmlString(...)

Roadmap

Possible future work/features feel free to claim and work on it:

  • UI Toolkit USS color support
  • Gradient previews
  • HDR color support

Release Notes

0.0.1

Initial release:

  • Unity Color support
  • Unity Color32 support
  • Named color support
  • Unity HTML hex support
  • Inline VS Code color picker integration

Related extensions