Array of vec3 in fragmentShaderSource

Hello,
How in a fragmentShaderSource, use an array of vec3, like this:

vec3 colors [3] = vec3 [3] (vec3 (-0.5, -0.5, 0), vec3 (0.5, -0.5, 0), vec3 (0 , 0.5, 0));

I have this error :
RuntimeError: Fragment shader failed to compile. Compile log: ERROR: 0:4: ‘’ : array constructor supported in GLSL ES 3.00 and above only
ERROR: 0:4: ‘’ : first-class arrays (array initializer) supported in GLSL ES 3.00 and above only
ERROR: 0:4: ‘=’ : Invalid operation for arrays
ERROR: 0:4: ‘=’ : cannot convert from ‘const array[3] of 3-component vector of float’ to ‘highp array[3] of 3-component vector of float’

Thanks