The most convenient app to grab color code is the one built-in to your Mac. Digital Color Meter is a default Mac utilities app hidden in your Application folder. Simply press Shift + Command + C will copy the value into the clipboard. You can also adjust color profile (native, sRGB, Adobe RGB or P3 etc.) as well as the values to display