Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/0xdaksh/vscode-hex-to-rgba

Hex-to-RGBA Allows designers to convert selected Hex Code to RGBA on VSCode easily.
https://github.com/0xdaksh/vscode-hex-to-rgba

designers hex-to-rgba javascript typescript vscode

Last synced: about 2 months ago
JSON representation

Hex-to-RGBA Allows designers to convert selected Hex Code to RGBA on VSCode easily.

Awesome Lists containing this project

README

        

# Hex-To-RGBA Extension
![Visual Studio Marketplace Downloads](https://img.shields.io/visual-studio-marketplace/d/dakshmiglani.hex-to-rgba?style=for-the-badge)
![Visual Studio Marketplace Installs](https://img.shields.io/visual-studio-marketplace/i/dakshmiglani.hex-to-rgba?style=for-the-badge)
![Visual Studio Marketplace Version](https://img.shields.io/visual-studio-marketplace/v/dakshmiglani.hex-to-rgba?style=for-the-badge)
![Visual Studio Marketplace Rating (Stars)](https://img.shields.io/visual-studio-marketplace/stars/dakshmiglani.hex-to-rgba?style=for-the-badge)

> Hex-to-RGBA Allows designers to convert selected Hex Code to RGBA and vice-versa.

![demo gif](https://i.imgur.com/SBRSu4B.gif)

### Shortcuts
#### converts selected text to RGBA
- Windows/Linux: `ctrl-alt-r`
- MacOS: `cmd-alt-r`
#### converts selected text to HEX
- Windows/Linux: `ctrl-alt-h`
- MacOS: `cmd-alt-h`
#### Toggle between hex and rgba
- Windows/Linux: `ctrl-shift-t`
- MacOS: `ctrl-shift-t`

*Awesome Tip*: Postfix the opacity to the hex followed by `_` to add the opacity to the converted rgba.

Example:
`#333333_86` to generate `rgba(51, 51, 51, 0.86)`.
----