Cogl.Color.equal
Description: Reference for Cogl.Color.equal

### Function

# Cogl Colorequal

#### Declaration [src]

    gboolean
    cogl_color_equal (
      void* v1,
      void* v2
    )

#### Description [src]

Compares two `CoglColor`s and checks if they are the same.

This function can be passed to `g_hash_table_new()` as the `key_equal_func` parameter, when using `CoglColor`s as keys in a `GHashTable`.

Available since: | 1.0

#### Parameters

`v1` | `void*`
| A `CoglColor`.
| The argument can be `NULL`.
| The data is owned by the caller of the function.
`v2` | `void*`
| A `CoglColor`.
| The argument can be `NULL`.
| The data is owned by the caller of the function.

#### Return value

Returns: | `gboolean`
| `TRUE` if the two colors are the same.