How to find a color code in an image
Open Color picker from image, add your picture, tap the color, and copy the code.
Matching a brand color
Use the original logo file if you have it. Screenshots and photos shift colors slightly.
Which code to copy
HEX suits websites and most design apps. RGB suits slides and documents.