Rules are as follows:
1) Standard sudoku rules apply for rows and columns but not for blocks defined by solid line around a coloured area.
2) Each solid block must add up to a value X and all blocks of the same colour must add up to the same value X.
3) The sum value may be different for each colour.
4) It's possible for a number to be repeated in a block, as long as it doesn't appear more than once in any row or column.
A completed puzzle
Here is a completed puzzle, where pink pieces add up to 11 and blue pieces add up to 10: