What recipe are you using?
A good basic is 400g flour, 4 eggs, 1 tbsp oil, 1 tsp salt. And remember to use '00' flour. Also, when you add the colouring ingredient (kale, spinach, beetroot, etc.) you need to adjust the recipe to allow for the extra moisture from the colourant. So maybe adjust the recipe to 3 eggs + 1 yolk, which will allow for the moisture content of, say, spinach. When drying your pasta it can also be useful to give it a very light dusting of semolina before hanging it.
If the pasta is worked thoroughly (the dough needs to be worked well to activate the gluten content) and cooked through it certainly shouldn't taste of dry flour!
Hope this helps.
DonQ