# Equations to Graphs With Different Colors

**URL:** <https://cl.desmos.com/t/equations-to-graphs-with-different-colors/2826>\
**Category:** Questions\
**Created:** [March 4, 2021, 10:56am UTC](https://cl.desmos.com/t/equations-to-graphs-with-different-colors/2826 "2021-03-04T10:56:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nick\_Rhodes](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/nick_rhodes/32/744_2.png) [@Nick\_Rhodes](https://cl.desmos.com/u/Nick_Rhodes)\
**Post date:** [March 4, 2021, 10:56am UTC](https://cl.desmos.com/t/equations-to-graphs-with-different-colors/2826/1 "2021-03-04T10:56:57Z")

</div>

Hi!

I want each line when inserted into the table to graph a line to match the color of the gym membership plan. I am not too sure how the CL works for this. Any help would be greatly appreciated!

> **[Gym Memberships • Activity Builder by Desmos](https://teacher.desmos.com/activitybuilder/custom/6040bc01be23850c38d85b9f)**
>
> by Nick Rhodes

---

<div class="post-metadata">

**Author:** ![Daniel\_Grubbs](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/daniel_grubbs/32/719_2.png) [@Daniel\_Grubbs](https://cl.desmos.com/u/Daniel_Grubbs)\
**Post date:** [March 4, 2021, 5:57pm UTC](https://cl.desmos.com/t/equations-to-graphs-with-different-colors/2826/2 "2021-03-04T17:57:14Z")

</div>

First tip. You don’t need to use parseEquation if you’re using “y=”. (You’ll also need to change in your graph to “y=f(x)” for example):

```auto
function(`f`): simpleFunction(table250.cellContent(1,2))
function(`g`): simpleFunction(table250.cellContent(2,2))
function(`h`): simpleFunction(table250.cellContent(3,2))

```

To pick your colors, just put dummy functions into the graph and choose your colors. The CL will overwrite those functions, but keep your color choices:

```auto
y=f(x)
y=g(x)
y=h(x)
f(x)=0 #Choose your colors
g(x)=0
h(x)=0

```
