【Unity】Gradient 置き場

修正点の指摘や提供等のコメントをいただけると助かります。

# 汎用

|虹色<br>原色基準|![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/307985/c8b61b5c-b080-1dd2-4a3d-90071c13f0f3.png)|
|:-:|:-:|
``` json
UnityEditor.GradientWrapperJSON:{"gradient":{"serializedVersion":"2","key0":{"r":1.0,"g":0.0,"b":0.0,"a":1.0},"key1":{"r":1.0,"g":1.0,"b":0.0,"a":1.0},"key2":{"r":0.0,"g":1.0,"b":0.0,"a":1.0},"key3":{"r":0.0,"g":1.0,"b":1.0,"a":0.0},"key4":{"r":0.0,"g":0.0,"b":1.0,"a":1.0},"key5":{"r":1.0,"g":0.0,"b":1.0,"a":0.0},"key6":{"r":0.9960784316062927,"g":0.0,"b":0.0,"a":1.0},"key7":{"r":1.0,"g":0.0,"b":0.0,"a":0.0},"ctime0":0,"ctime1":10922,"ctime2":21845,"ctime3":32768,"ctime4":43712,"ctime5":54591,"ctime6":65535,"ctime7":65535,"atime0":0,"atime1":65535,"atime2":49151,"atime3":52428,"atime4":55705,"atime5":58982,"atime6":62258,"atime7":65535,"m_Mode":2,"m_ColorSpace":0,"m_NumColorKeys":7,"m_NumAlphaKeys":2}}
```

|虹色<br>均等配置|![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/307985/39728e07-8da4-8306-49f7-7f53fdb0cf19.png)|
|:-:|:-:|
``` json
UnityEditor.GradientWrapperJSON:{"gradient":{"serializedVersion":"2","key0":{"r":1.0,"g":0.0,"b":0.0,"a":1.0},"key1":{"r":1.0,"g":0.8582677245140076,"b":0.0,"a":1.0},"key2":{"r":0.28346455097198489,"g":1.0,"b":0.0,"a":1.0},"key3":{"r":0.0,"g":1.0,"b":0.5669291019439697,"a":0.0},"key4":{"r":0.0,"g":0.5669291019439697,"b":1.0,"a":1.0},"key5":{"r":0.2834644317626953,"g":0.0,"b":1.0,"a":0.0},"key6":{"r":1.0,"g":0.0,"b":0.8503937721252441,"a":1.0},"key7":{"r":1.0,"g":0.0,"b":0.0,"a":0.0},"ctime0":0,"ctime1":9372,"ctime2":18743,"ctime3":27918,"ctime4":37420,"ctime5":46792,"ctime6":56163,"ctime7":65535,"atime0":0,"atime1":65535,"atime2":49151,"atime3":52428,"atime4":55705,"atime5":58982,"atime6":62258,"atime7":65535,"m_Mode":2,"m_ColorSpace":0,"m_NumColorKeys":8,"m_NumAlphaKeys":2}}
```

# パーティクル系

|点滅して消滅<br>高速|![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/307985/d652feba-b69e-6686-c0f6-d05e82a88af7.png)|
|:-:|:-:|
``` json
UnityEditor.GradientWrapperJSON:{"gradient":{"serializedVersion":"2","key0":{"r":1.0,"g":1.0,"b":1.0,"a":0.0},"key1":{"r":1.0,"g":1.0,"b":1.0,"a":1.0},"key2":{"r":1.0,"g":0.0,"b":0.0,"a":1.0},"key3":{"r":1.0,"g":0.0,"b":0.0,"a":0.0},"key4":{"r":1.0,"g":0.0,"b":0.0,"a":0.7529411911964417},"key5":{"r":1.0,"g":0.0,"b":0.0,"a":0.0},"key6":{"r":1.0,"g":0.0,"b":0.0,"a":0.3764705955982208},"key7":{"r":1.0,"g":0.0,"b":0.0,"a":0.0},"ctime0":0,"ctime1":65535,"ctime2":65535,"ctime3":65535,"ctime4":65535,"ctime5":65535,"ctime6":65535,"ctime7":65535,"atime0":0,"atime1":6554,"atime2":49151,"atime3":52428,"atime4":55705,"atime5":58982,"atime6":62258,"atime7":65535,"m_Mode":0,"m_ColorSpace":0,"m_NumColorKeys":2,"m_NumAlphaKeys":8}}
```

|点滅して消滅<br>低速|![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/307985/17382963-d2c0-8739-cad5-c9f921069491.png)|
|:-:|:-:|
``` json
UnityEditor.GradientWrapperJSON:{"gradient":{"serializedVersion":"2","key0":{"r":1.0,"g":1.0,"b":1.0,"a":0.0},"key1":{"r":1.0,"g":1.0,"b":1.0,"a":1.0},"key2":{"r":1.0,"g":0.0,"b":0.0,"a":1.0},"key3":{"r":1.0,"g":0.0,"b":0.0,"a":0.0},"key4":{"r":1.0,"g":0.0,"b":0.0,"a":0.7529411911964417},"key5":{"r":1.0,"g":0.0,"b":0.0,"a":0.0},"key6":{"r":1.0,"g":0.0,"b":0.0,"a":0.3764705955982208},"key7":{"r":1.0,"g":0.0,"b":0.0,"a":0.0},"ctime0":0,"ctime1":65535,"ctime2":65535,"ctime3":65535,"ctime4":65535,"ctime5":65535,"ctime6":65535,"ctime7":65535,"atime0":0,"atime1":6554,"atime2":32768,"atime3":39321,"atime4":45875,"atime5":52428,"atime6":58982,"atime7":65535,"m_Mode":0,"m_ColorSpace":0,"m_NumColorKeys":2,"m_NumAlphaKeys":8}}
```

# その他

|[ケルビン](http://www.vendian.org/mncharity/dir3/blackbody/)<br>1/100000|![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/307985/ca343d27-498f-2eb4-e97d-276c952f0be0.png)|
|:-:|:-:|
``` json
UnityEditor.GradientWrapperJSON:{"gradient":{"serializedVersion":"2","key0":{"r":1.0,"g":0.20000001788139344,"b":0.0,"a":1.0},"key1":{"r":1.0,"g":0.5529412031173706,"b":0.04313725605607033,"a":1.0},"key2":{"r":1.0,"g":0.8352941870689392,"b":0.6313725709915161,"a":0.0},"key3":{"r":1.0,"g":0.9764706492424011,"b":0.9921569228172302,"a":0.0},"key4":{"r":0.8980392813682556,"g":0.9137255549430847,"b":1.0,"a":0.49803921580314639},"key5":{"r":0.7647059559822083,"g":0.8196079134941101,"b":1.0,"a":0.7490196228027344},"key6":{"r":0.6627451181411743,"g":0.7450980544090271,"b":1.0,"a":0.0},"key7":{"r":0.6313725709915161,"g":0.7176470756530762,"b":1.0,"a":0.501960813999176},"ctime0":655,"ctime1":1311,"ctime2":2621,"ctime3":4325,"ctime4":5243,"ctime5":7864,"ctime6":15728,"ctime7":26214,"atime0":0,"atime1":65535,"atime2":65535,"atime3":65535,"atime4":39321,"atime5":49151,"atime6":58982,"atime7":65535,"m_Mode":0,"m_ColorSpace":0,"m_NumColorKeys":8,"m_NumAlphaKeys":2}}
```
|[ケルビン](http://www.vendian.org/mncharity/dir3/blackbody/)<br>1/100000<br>加算考慮|![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/307985/6129762f-8027-c6d1-7261-6dc4aab2903e.png)|
|:-:|:-:|
``` json
UnityEditor.GradientWrapperJSON:{"gradient":{"serializedVersion":"2","key0":{"r":0.0,"g":0.0,"b":0.0,"a":1.0},"key1":{"r":1.0,"g":0.20000001788139344,"b":0.0,"a":1.0},"key2":{"r":1.0,"g":0.5529412031173706,"b":0.04313725605607033,"a":0.0},"key3":{"r":1.0,"g":0.8352941870689392,"b":0.6313725709915161,"a":0.0},"key4":{"r":1.0,"g":0.9764706492424011,"b":0.9921569228172302,"a":0.49803921580314639},"key5":{"r":0.7647059559822083,"g":0.8196079134941101,"b":1.0,"a":0.7490196228027344},"key6":{"r":0.6627451181411743,"g":0.7450980544090271,"b":1.0,"a":0.0},"key7":{"r":0.6313725709915161,"g":0.7176470756530762,"b":1.0,"a":0.501960813999176},"ctime0":0,"ctime1":655,"ctime2":1311,"ctime3":2621,"ctime4":4325,"ctime5":7864,"ctime6":15728,"ctime7":26214,"atime0":0,"atime1":65535,"atime2":65535,"atime3":65535,"atime4":39321,"atime5":49151,"atime6":58982,"atime7":65535,"m_Mode":0,"m_ColorSpace":0,"m_NumColorKeys":8,"m_NumAlphaKeys":2}}
```


|ケルビン<br>2200刻み|![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/307985/b04dd9a5-181b-bab4-08ea-966962632e6d.png)|
|:-:|:-:|
``` json
UnityEditor.GradientWrapperJSON:{"gradient":{"serializedVersion":"2","key0":{"r":1.0,"g":0.20000001788139344,"b":0.0,"a":1.0},"key1":{"r":1.0,"g":0.5960784554481506,"b":0.16078431904315949,"a":1.0},"key2":{"r":1.0,"g":0.8666667342185974,"b":0.7058823704719544,"a":0.7490196228027344},"key3":{"r":1.0,"g":0.9764706492424011,"b":0.9921569228172302,"a":0.49803921580314639},"key4":{"r":0.8588235974311829,"g":0.8862745761871338,"b":1.0,"a":0.49803921580314639},"key5":{"r":0.7843137979507446,"g":0.8352941870689392,"b":1.0,"a":0.7490196228027344},"key6":{"r":0.7411764860153198,"g":0.803921639919281,"b":1.0,"a":0.0},"key7":{"r":0.8117647767066956,"g":0.8549020290374756,"b":1.0,"a":0.501960813999176},"ctime0":0,"ctime1":10879,"ctime2":21823,"ctime3":32768,"ctime4":43712,"ctime5":54591,"ctime6":65535,"ctime7":65535,"atime0":0,"atime1":65535,"atime2":16384,"atime3":26214,"atime4":39321,"atime5":49151,"atime6":58982,"atime7":65535,"m_Mode":2,"m_ColorSpace":0,"m_NumColorKeys":7,"m_NumAlphaKeys":2}}
```

|抵抗器のカラーコード|![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/307985/99922e06-c7f1-d5e1-ef2a-e2ec38d45ddf.png)|
|:-:|:-:|
``` json
UnityEditor.GradientWrapperJSON:{"gradient":{"serializedVersion":"2","key0":{"r":0.0,"g":0.0,"b":0.0,"a":1.0},"key1":{"r":1.0,"g":0.0,"b":0.0,"a":1.0},"key2":{"r":1.0,"g":0.9725490808486939,"b":0.1725490242242813,"a":0.7490196228027344},"key3":{"r":0.21568629145622254,"g":1.0,"b":0.16862745583057404,"a":0.49803921580314639},"key4":{"r":0.1725490242242813,"g":0.6392157077789307,"b":1.0,"a":0.49803921580314639},"key5":{"r":0.5803921818733215,"g":0.1725490242242813,"b":1.0,"a":0.7490196228027344},"key6":{"r":0.6784313917160034,"g":0.6784313917160034,"b":0.6784313917160034,"a":0.0},"key7":{"r":1.0,"g":1.0,"b":1.0,"a":0.501960813999176},"ctime0":0,"ctime1":9830,"ctime2":26214,"ctime3":32768,"ctime4":39321,"ctime5":45875,"ctime6":52428,"ctime7":58982,"atime0":0,"atime1":65535,"atime2":16384,"atime3":26214,"atime4":39321,"atime5":49151,"atime6":58982,"atime7":65535,"m_Mode":2,"m_ColorSpace":0,"m_NumColorKeys":8,"m_NumAlphaKeys":2}}
```

## 自作

|空|![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/307985/af957e26-3f60-4232-828d-c6a47ee3a7fe.png)|
|:-:|:-:|
``` json
UnityEditor.GradientWrapperJSON:{"gradient":{"serializedVersion":"2","key0":{"r":0.10000000149011612,"g":0.05000000074505806,"b":0.10000000149011612,"a":1.0},"key1":{"r":0.5,"g":0.25,"b":0.25,"a":1.0},"key2":{"r":1.0,"g":1.0,"b":0.501960813999176,"a":0.7490196228027344},"key3":{"r":0.5,"g":1.0,"b":1.0,"a":0.49803921580314639},"key4":{"r":0.7490196228027344,"g":0.7490196228027344,"b":1.0,"a":0.49803921580314639},"key5":{"r":1.0,"g":0.0,"b":0.0,"a":0.7490196228027344},"key6":{"r":0.250980406999588,"g":0.250980406999588,"b":0.501960813999176,"a":0.0},"key7":{"r":0.10000000149011612,"g":0.05000000074505806,"b":0.10000000149011612,"a":0.501960813999176},"ctime0":0,"ctime1":8192,"ctime2":16384,"ctime3":26214,"ctime4":39321,"ctime5":49151,"ctime6":57343,"ctime7":65535,"atime0":0,"atime1":65535,"atime2":16384,"atime3":26214,"atime4":39321,"atime5":49151,"atime6":58982,"atime7":65535,"m_Mode":2,"m_ColorSpace":0,"m_NumColorKeys":8,"m_NumAlphaKeys":2}}
```