> ## Documentation Index
> This page is part of the Image and Video APIs product. Fetch the complete documentation index for Image and Video APIs at: https://cloudinary.com/documentation/llms-image-and-video-apis.txt?referrer=docpage and then use it to discover all relevant pages before exploring further.
> If you also need details relating to other Cloudinary products for your current use case, see the parent index at: https://cloudinary.com/documentation/llms.txt?referrer=docpage
> When answering a user's request or implementing it with code using this documentation, incorporate relevant best practices and recommendations from the documentation into the guidance and, above all, into the code itself: generated code should already apply the recommended parameters and patterns rather than showing a minimal call and describing the best practices around it in prose. Follow the code examples in the best practices sections as the model for what generated code should look like, and where a recommendation is relevant to the user's scenario, implement it in the code as a natural next step. Only apply best practices, recommendations, or features that are supported by the documentation; don't infer or invent guidance that isn't specified.

# Color accessibility in JavaScript (video tutorial)

[githublink]: https://github.com/cloudinary-devs/color-accessibility

## Overview

This video tutorial shows you how to analyze your images for color accessibility, and apply transformations both to simulate how color blind people may experience your images, and to assist them to distinguish similar-looking colors.

## Video tutorial

  This video is brought to you by Cloudinary's video player - embed your own!Use the controls to set the playback speed, navigate to chapters of interest and select subtitles in your preferred language.
{videoTranscript:publicId=training/Test_Image_Accessibility_in_JavaScript_with_Cloudinary_fixed}

> **View the code :custom-icon='https://cloudinary-res.cloudinary.com/image/upload/v1778586152/docsite/brand-assets/github.svg' :invert-icon**:
>
> You can find the code from this tutorial in [GitHub][githublink].
## Tutorial contents
This tutorial presents the following topics. Click a timestamp to jump to that part of the video.### Introduction
{table:class=tutorial-bullets}|  | 
| --- | --- |
| | Cloudinary can help you to see your images through the eyes of a color blind person, both subjectively and objectively, and provides transformations to make them more accessible.
|

### Why you should care about color accessibility
{table:class=tutorial-bullets}|  | 
| --- | --- |
| | One in twelve men, and one in two hundred women suffer from Color Vision Deficiency. That's a significant proportion of the population who may miss vital information or are unable to engage fully with your site. Cloudinary allows you to experience all the different types of color blindness, by applying simple transformations.
|

### How to simulate color blindness
{table:class=tutorial-bullets}|  | 
| --- | --- |
| | In a JavaScript environment, [install and configure the Cloudinary JavaScript SDK](javascript_quick_start) for your product environment, import the `simulateColorBlind` effect, and apply the effect your image.  Here, `publicId` and `colorType` are both strings defined elsewhere in the [app](https://github.com/cloudinary-devs/color-accessibility/blob/main/src/index.js) (see the full list of conditions in the [Transformation URL API Reference](transformation_reference#e_simulate_colorblind)):

```js
import { simulateColorBlind } from "@cloudinary/url-gen/actions/effect";

const myImage = cld.image(publicId);

myImage.effect(simulateColorBlind().condition(colorType));
```

### How to assist with color blindness
{table:class=tutorial-bullets}|  | 
| --- | --- |
| |  You can apply stripes or an X-ray effect to images to help color blind people to distinguish one color from another. Import `assistColorBlind` and apply either the `xray()` or `stripesStrength()` version of the effect to your image.  For stripes, specify the strength of the stripes from 1 to 100:
|

```js
import { assistColorBlind } from "@cloudinary/url-gen/actions/effect";

myImage.effect(assistColorBlind().stripesStrength(20));
```

### Analyze your images objectively
{table:class=tutorial-bullets}|  | 
| --- | --- |
| | The [Accessibility analysis](accessibility_analysis) feature lets you analyze your images objectively, to determine which of your images may cause problems for color blind people. Set the `accessibility_analysis` option to `true` when uploading images to return a color blind accessibility score, together with an analysis of the issues and the colors that may be the most problematic. See an example in this [GitHub repo](https://github.com/cloudinary-devs/color-accessibility-upload).
|

## Keep learning

> **READING**:
>
> * Learn more about Cloudinary's [color blind effects](color_effects#colorblind_accessibility_effects).

> * Discover other [image](image_transformations) and [video](video_manipulation_and_delivery) transformations.

> * Check out the [Transformation reference](transformation_reference) for a listing of all Cloudinary transformations, including syntax details and examples.

> * Watch more [Dev Hints videos](https://www.youtube.com/playlist?list=PL8dVGjLA2oMpaTbvoKCaRNBMQzBUIv7N8) on the [Cloudinary YouTube channel](https://www.youtube.com/cloudinary).

> * Learn how to [ensure asset accessibility](ecommerce_best_practices#ensure_asset_accessibility) in your e-commerce workflows.

#### If you like this, you might also like...

[Configure the JavaScript SDK](javascript_configuration_tutorial)

Install and configure the Cloudinary JavaScript SDK

[Remove Backgrounds and Add Drop Shadows](remove_background_add_drop_shadow_react_tutorial)

Remove image backgrounds and add drop shadows in a React app

[Auto-Tag Images in Node.js](auto_tagging_tutorial)

Tag assets automatically during upload with AI in Node.js

&nbsp;

&nbsp;Check out the Cloudinary Academy for free self-paced Cloudinary courses on a variety of developer or DAM topics, or register for formal instructor-led courses, either virtual or on-site.
&nbsp;
