Like in Sketch/Figma, Ctrl-C gives you a color picker. It’ll apply the color to the fill or stroke of the selected object. Fill takes precedence.
This works for custom components too, as long as there is a color panel open
PS: If you find this tip difficult to understand, check out this course I prepared for you, where concepts are explained in a more digestible way. No programming experience required!