I don't think 'determining' makes sense in this sentence. It does not sound right.
If I understand the meaning of the sentence correctly I would use 'needed' or 'required.'
I would also suggest using a word like 'achieve' or 'gain' instead of 'get.' To 'get' happiness does not sound natural. It is more common to say that you would 'achieve' or 'gain' happiness.
Colours affect our lives but I don't think they are (required or needed) to (achieve or gain) happiness.