Unit converter will work like this:
- From: px to em and em to px
- From: Hex ('#') to rgb | rgba and rgb | rgba to Hex
Important: Don't remove the unit from the text you are selecting on the actived text editor. It's important to know from which unit are you going to convert.
The extension will work too with colors names such as black, white, aquamarine, yellowgreen and so on; converting all of them to their hexadecimal value
- Setting the value
To use Unit Converter you have to press down F1
and type unit converter
.
You will get a list of units (px, em, #, rgb, rgba). Then, it will appear an input box where you have to type or set the value to convert.
Finally, you will get a promptt with the new value.