Correct way to store an array in a custom property

Why are you store a PropertyGroup inside a PropertyGroup, shouldnt it also work by adding that color vector float directly into the initial ProperyGroup?