Camera color picker

Hi, I need advice, I want to make an app where colors are extracted from an image, the camera is open type video and when you click to extract the hex or rgb and save it, I made a similar in android but I can not find how to do it in Ionic, I do not ask for code before they start only if they know some plugin or a way to do it, or something that can guide me.