Skip to content

Instantly share code, notes, and snippets.

@zachharkey
Last active June 26, 2018 18:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zachharkey/6daca9472e864a8a347e19ff26759cdd to your computer and use it in GitHub Desktop.
Save zachharkey/6daca9472e864a8a347e19ff26759cdd to your computer and use it in GitHub Desktop.

The Caduceus Logo

The original source logo is served as a vector SVG from the following URL: http://res.cloudinary.com/caduceus/caduceus-logo.svg

We can manipulate pretty much every characteristic of this logo, e.g. filetype, width, color, etc. by changing the parameters in this URL.

Change size on the fly.

Change the w_value in the URL to generate the exact size logo you need. Here are some examples.

http://res.cloudinary.com/caduceus/w_900/caduceus-logo.png


Caduceus

http://res.cloudinary.com/caduceus/w_500/caduceus-logo.png


Caduceus

http://res.cloudinary.com/caduceus/w_250/caduceus-logo.png


Caduceus

http://res.cloudinary.com/caduceus/w_150/caduceus-logo.png

Change color on the fly.

Additional parameters allow you to set the color on the fly.

Caduceus

http://res.cloudinary.com/caduceus/w_1000,e_colorize,co_whitesmoke/caduceus-logo.png

In the previous example, you can change the value of the co parameter to any of the HTML/CSS "named" colors. All 140 supported "named" colors are listed at https://htmlcolorcodes.com/color-names/

Caduceus

http://res.cloudinary.com/caduceus/w_1000,e_colorize,co_darkred/caduceus-logo.png

Alternatively, you can specify hexadecimal values with the co_rgb parameter. For example I could specify the hex color #EEEEEE with the following URL:

Caduceus

http://res.cloudinary.com/caduceus/w_1000,e_colorize,co_rgb:EEEEEE/caduceus-logo.png

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment