---
id: fast-colors.degreestoradians
title: degreesToRadians() function
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-colors](./fast-colors.md) &gt; [degreesToRadians](./fast-colors.degreestoradians.md)

## degreesToRadians() function

Converts degrees to radians.

<b>Signature:</b>

```typescript
export declare function degreesToRadians(i: number): number;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  i | number | degrees |

<b>Returns:</b>

number
