the recordset returns only one result so the value of:
$totalRows_rsCOLOUR
is 1
this means the if statement is being evaluated as:
if(1 > 1) {
which is false.
you asked why it is not working.
that is why it is not working.
it should be:
<?php if ($totalRows_rsCOLOUR > 0) { ?>