That blue in a mockup would make a good heading color for your presentation. Guessing by eye gets you close, but sampling the image gives you a specific value to enter in your slide or UI editor. I run 67toolz, and its Image Color Picker lets you select a point in an uploaded image and read its HEX and RGB values.
Start inside a solid patch
Choose a broad, flat part of the color you want. The center of a button or panel is usually a better starting point than its outline, shadow, or rounded corner.
Edges can contain blended pixels from antialiasing, and compression can introduce slight variations. A sample from those areas may describe a transition rather than the main fill. If the image has a gradient, there is no single fill color to recover. Choose the particular point that represents the shade you need.
For this check, the source was a 900 × 600 PNG with blue and gold panels on a pale background. The blue panel was defined as #246BCE, and the background as #F6F8FC, giving us known values to compare with the displayed results.
Read the value your editor accepts
Upload the image, then click the desired spot or drag the sampling point into position. The page shows both HEX and RGB and includes a history of recently picked colors, which is useful when moving between a panel and its background.
Selecting the blue panel displayed HEX #246BCE and RGB (36, 107, 206). Selecting the background displayed HEX #F6F8FC and RGB (246, 248, 252). Both matched the source values in this check.
Use whichever format your destination editor accepts. HEX expresses the color as a compact code; RGB separates it into red, green, and blue values. The page also provides a Copy HEX button.
Check the color in its new setting
An exact sampled value is a useful starting point, but it does not guarantee an identical visual appearance everywhere. Color profiles, destination rendering, and surrounding colors can affect how the result looks.
Apply the sample to one heading or button first and inspect it against your actual background before extending it across the design. To pick a color from your own mockup, start with a flat interior patch, record the value, and judge the result where it will actually be used.

