Convert your clipboard text from something useless like this:
rgb(66, 180, 255)
to something useful like this:
new Color(0.26f, 0.71f, 1f)
- Converts 0-255 integer-style RGB information to UnityEngine.Color constructor format with a keyboard shortcut.
- If the conversion is successful the result is copied to the clipboard, overwriting previous clipboard text.
- Clipboard text remains unchanged if conversion fails.
- Logs a message to the console to provide a visual indication of success or failure.
- Place the script in "Assets/Editor" in your project directory.