Skip to content
This repository has been archived by the owner on Oct 13, 2019. It is now read-only.

Get colors for every network #9

Open
Rudloff opened this issue Dec 7, 2014 · 8 comments
Open

Get colors for every network #9

Rudloff opened this issue Dec 7, 2014 · 8 comments

Comments

@Rudloff
Copy link
Owner

Rudloff commented Dec 7, 2014

OpenCellID uses colors in order to distinguish cells from different networks.
I already added colors for the main French networks, but I need to find a complete list of colors associated to MNC codes.

@Gitschubser
Copy link

For germany (mcc=262) i would like following colors:
mnc=1 color=magenta Homepage: https://www.t-mobile.de/
mnc=2 color=red Homepage: http://www.vodafone.de/
mnc=3 color=green Homepage: http://www.eplus.de/
mnc=7 color=blue Homepage: http://www.o2online.de/

At the homepage you can see the right color deposited. :-)

@Rudloff
Copy link
Owner Author

Rudloff commented Dec 7, 2014

Thanks, I added them to the file: 5443fa0

@Gitschubser
Copy link

Is it possible to change the color from the mnc to a rgb color code?
Example: #800000

I would create a file with this color codes.

@Rudloff
Copy link
Owner Author

Rudloff commented May 30, 2015

We can now use RGB colors: d1da825#diff-455979cc8f52f81aa6958d969c115d2a

It would be great if you could add new colors to the file!

@Gitschubser
Copy link

I have create a new mnc_operators.json from https://github.com/andymckay/mobile-codes with include the first color codes and the homepage from the provider.
Is this easy to use the color code from the file?

Example:
["208", "01", "Orange France", "Orange France", "http://www.orange.fr", "#FF6600"]
["208", "02", "Orange France", "Orange France", "http://www.orange.fr", "#FF6600"]
["208", "03", "MobiquiThings", "MobiquiThings", "http://www.mobiquithings.com", "#3b8bad"]

Add link from the operator to the homepage from the provider would be a nice feature.

http://www.file-upload.net/download-10654006/mnc_operators.json.html

No homepage -> field = homepage
No color -> field = color

@Rudloff
Copy link
Owner Author

Rudloff commented May 31, 2015

We could use this format but I would prefer to have the colors/URL separate from the rest of the network data so I can easily update mnc_operators.json in the app.

@Gitschubser
Copy link

202,01,#65AF1A
202,02,#65AF1A
202,03,#004791
202,05,#E60000
202,09,#0EB5EC
202,10,#0EB5EC
204,02,#019BD9
204,03,#007BC0
204,04,#FF0000
204,16,#E20074
204,20,#E20074
206,01,#5D3399
206,10,#FF7900
206,20,#485F2B
232,01,#EF4E22
232,02,#EF4E22
232,03,#E20074
232,04,#E20074
232,05,#FF7900
232,06,#FF7900
232,07,#E20074
232,09,#EF4E22
232,10,#FF7900
232,11,#EF4E22
232,12,#FF7900
232,14,#FF7900
262,01,#E31384
262,02,#DC001A
262,03,#096647
262,07,#092C62
262,08,#092C62
412,01,#37ACDD
412,20,#ED1B24
412,40,#FFB200
412,50,#ABD416

@Rudloff
Copy link
Owner Author

Rudloff commented Jul 16, 2015

Thanks! I added it to the code: 55e6f31

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants