rgb2hex

From their README

alfred-rgb2hex

Alfred workflow to convert RGB values of color to hexadecimal string and vice versa, the result will be copied into clipboard.

Download

You can download the workflow file from the releases page.

Example

the rgb input separated by whitespaces

the rgb input separated by commas

the hex input

the invalid rgb input

the invalid hex input