color-highlighter icon indicating copy to clipboard operation
color-highlighter copied to clipboard

JetBrains plugin to preview colors directly from within the code.

Color Highlighter


logo

Preview your colors inline!

Features

  • Colorize different color formats directly in the code

    • HEX with or without hash (#) with alpha support
    • rgb(), argb() and rgba()
    • hsl() and hsla()
    • Java/Kotlin/Scala -> ColorUiResource
    • Java/Kotlin: [new ]Color(r, g, b[, a])
    • ASCII Colors and Web Colors (https://en.wikipedia.org/wiki/Web_colors)
    • FlatUI Colors (https://flatuicolors.com/)
    • Custom Colors (NEW!)
  • Supports most languages (more to come)

    • HTML
    • XML
    • YAML
    • Properties
    • JSON
    • JavaScript
    • TypeScript
    • Scala
    • Java
    • Kotlin
    • Ruby
    • Python
    • PHP
    • Go
    • ObjectiveC
    • Swift
    • C
    • C++
    • C#
    • Markdown
    • Dart (NEW)
    • Text (NEW, Experimental)
  • Ability to preview color in the gutter

  • Options to copy gutter color in different formats (rgb, hsl, etc)

  • You can disable certain parsers

Screenshots

PHP

PHP

Python

Python

Ruby

Ruby

Go

Go

Objective C

ObjectiveC

Swift

Swift

JavaScript

JavaScript

Kotlin

Kotlin

Java

Java

JSON

JSON

Properties

Properties

Acknowledgements

Plugin Icon made by Vectors Market from Flaticon, licensed by Creative Commons BY 3.0

Authors: