Represents a silly cat image.
- url (
str
): The unparsed URL of the image. - left_hex (
SillyCatPosition
): The left colour of the silly cat. - right_hex (
SillyCatPosition
): The right colour of the silly cat.
Represents a class holding the colours of a SillyCat
.
-
hex (
str
):
The hexadecimal code representing the colour. -
colour_name (
str
):
The human-readable name of the colour. This is only set ifrandom
wasTrue
. To retrieve the name, usefetch_colour_name
. -
image (
Image
):
AnImage
object created from the unparsed image URL. -
simple_image (
Image
):
The simple image of the silly cat, available as a URL using only the left hex colour. -
complex_image (
Image
):
The complex image of the silly cat, available as a URL using both left and right hex colours.
-
Fetches the name of the colour from the
colour
endpoint.str
: The name of the colour.